Spaces:
Sleeping
Sleeping
molokhovdmitry
commited on
Commit
•
2a1c3cb
1
Parent(s):
6a63889
Create Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
+
WORKDIR /
|
3 |
+
COPY requirements.txt .
|
4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
+
COPY . .
|
6 |
+
EXPOSE 8000
|
7 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|