Skip to content

Commit 841e120

Browse files
committed
changes updated
1 parent f322897 commit 841e120

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ RUN apt-get update && apt-get install -y build-essential poppler-utils && rm -rf
1414
# Copy requirements
1515
COPY requirements.txt .
1616

17-
COPY .env .
18-
1917
# Copy project files
2018
COPY . .
2119

@@ -26,7 +24,7 @@ RUN pip install --no-cache-dir -r requirements.txt
2624
EXPOSE 8080
2725

2826
# Run FastAPI with uvicorn
29-
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8080", "--reload"]
27+
#CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8080", "--reload"]
3028

3129
# Replace last CMD in prod
32-
#CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "4"]
30+
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "4"]

0 commit comments

Comments
 (0)