Spaces:
Sleeping
Sleeping
Abdus Samad Mizi
commited on
Commit
·
ceba65c
1
Parent(s):
e210c35
move files again
Browse files- .DS_Store +0 -0
- Dockerfile +7 -4
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
Dockerfile
CHANGED
|
@@ -2,9 +2,12 @@ FROM python:3.9-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
|
| 6 |
-
COPY
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
RUN pip install -r /app/requirements.txt
|
| 9 |
|
| 10 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Copy all files from your repo root to /app in container
|
| 6 |
+
COPY . /app
|
| 7 |
+
|
| 8 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 9 |
+
|
| 10 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 11 |
+
|
| 12 |
|
|
|
|
| 13 |
|
|
|