diff --git a/.dockerignore b/.dockerignore index 6aae033..256108d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,3 +9,6 @@ __pycache__/ # Status Bot uploads/ bot/docs + +config.yaml +.env diff --git a/Dockerfile b/Dockerfile index 61e2300..c406581 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,13 @@ FROM python:3.12-slim WORKDIR /app -COPY . . +COPY requirements.txt . +COPY bot/requirements.txt bot/requirements.txt RUN pip install --no-cache-dir -r requirements.txt \ && if [ -f bot/requirements.txt ]; then pip install --no-cache-dir -r bot/requirements.txt; fi +COPY . . + ENTRYPOINT ["python", "monitor.py"] CMD []