Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-vdberg committed Jul 11, 2024
1 parent ae4b724 commit a3a320b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit a3a320b

Please sign in to comment.