rkihacker commited on
Commit
559f385
·
verified ·
1 Parent(s): 8065e57

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,5 +1,9 @@
1
  FROM python:3.11-slim
 
2
  WORKDIR /app
3
  COPY . .
 
4
  RUN pip install --no-cache-dir -r requirements.txt
5
- CMD ["python", "main.py"]
 
 
 
1
  FROM python:3.11-slim
2
+
3
  WORKDIR /app
4
  COPY . .
5
+
6
  RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ EXPOSE 8000
9
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]