Spaces:
Runtime error
Runtime error
QuophyDzifa
commited on
Commit
•
79f2d5c
1
Parent(s):
a918c17
Upload Dockerfile.txt
Browse files- Dockerfile.txt +13 -0
Dockerfile.txt
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY ./requirements.txt /app
|
6 |
+
|
7 |
+
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
8 |
+
|
9 |
+
EXPOSE 7860
|
10 |
+
|
11 |
+
COPY . .
|
12 |
+
|
13 |
+
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "7860"]
|