diff --git a/Dockerfile b/Dockerfile index 79c1fad..c445f6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,13 @@ FROM python:3.12 -COPY requirements.txt . -RUN python -m pip install -r requirements.txt + +# Copy files and install dependencies +WORKDIR /app COPY . . +RUN python -m pip install -r requirements.txt + +# Disable log buffering ENV PYTHONBUFFERED=1 + +# Set entrypoint with 'src.daemon' as the default argument ENTRYPOINT ["python", "-m"] +CMD ["src.daemon"]