rkihacker commited on
Commit
e45dd5b
·
verified ·
1 Parent(s): 320deec

Update Dockerfile

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