Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mohrezfadaei committed Aug 9, 2024
1 parent 0a715ee commit 4db71d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM python:3.10-alpine

LABEL maintainer="Mohammad Reza Fadaei <mohrezfadaei@gmail.com>"



ENV DEBUG=true
ENV API_URL=None
ENV API_TOKEN=None
Expand All @@ -16,10 +18,10 @@ WORKDIR /app

COPY requirements.txt .

RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

ENTRYPOINT [ "python" ]

CMD [ "app/main.py" ]
CMD [ "main.py" ]

0 comments on commit 4db71d0

Please sign in to comment.