We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8414e3 commit a105216Copy full SHA for a105216
1 file changed
Dockerfile
@@ -0,0 +1,12 @@
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 . .
9
10
+EXPOSE 8000
11
12
+CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
0 commit comments