Skip to content

Commit 9649daf

Browse files
author
Piotr Gulbinowicz
committed
fix Dockerfile for api
1 parent 6929841 commit 9649daf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ FROM python:3.12.6-slim-bookworm
22
WORKDIR /src
33
COPY requirements.txt .
44
RUN pip install -r requirements.txt --no-cache-dir
5-
COPY main.py .
5+
COPY *.py .
66
USER 1000:1000
77
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "6789"]

api/Dockerfile-hot-reload

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ FROM python:3.12.6-slim-bookworm
22
WORKDIR /src
33
COPY requirements.txt .
44
RUN pip install -r requirements.txt --no-cache-dir
5-
COPY main.py .
65
USER 1000:1000
76
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "6789", "--reload"]

0 commit comments

Comments
 (0)