Spaces:
Sleeping
Sleeping
Commit
·
18af278
1
Parent(s):
21ba534
update: dockerfile logs folder creation
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -8,8 +8,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
|
12 |
|
13 |
-
|
14 |
|
15 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
12 |
|
13 |
+
EXPOSE 7860
|
14 |
|
15 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|