Skip to content

Commit

Permalink
fix --no-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Dariiiii committed Dec 8, 2024
1 parent ea7b79b commit c12c0c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM python:3.9.17-slim
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
#CMD ["sh", "-c", "python init_db.py && python main.py"]
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "-u", "app/main.py"]

0 comments on commit c12c0c9

Please sign in to comment.