Spaces:
Paused
Paused
Create Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
WORKDIR /app
|
3 |
+
COPY . /app
|
4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
+
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8000"]
|
6 |
+
|