major refactor (untested)
This commit is contained in:
parent
a29412b4da
commit
a77a0c0393
22 changed files with 1037 additions and 24 deletions
|
|
@ -7,9 +7,12 @@ COPY requirements.txt .
|
|||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application
|
||||
COPY monitor.py .
|
||||
COPY main.py .
|
||||
|
||||
# Copy the handlers directory into the Docker image
|
||||
COPY handlers/ ./handlers/
|
||||
|
||||
# Create data directory
|
||||
RUN mkdir -p /data && chmod 777 /data
|
||||
|
||||
CMD ["python", "-u", "monitor.py"]
|
||||
CMD ["python", "-u", "main.py"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue