Update Dockerfile
Browse files- 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 |
-
|
|
|
|
|
|
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"]
|