Spaces:
Runtime error
Runtime error
shenchucheng
commited on
Commit
·
16adaf8
1
Parent(s):
793bad4
update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -23,6 +23,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 23 |
|
| 24 |
WORKDIR /app
|
| 25 |
|
|
|
|
|
|
|
| 26 |
COPY . .
|
| 27 |
|
| 28 |
CMD ["uvicorn", "app:app"]
|
|
|
|
| 23 |
|
| 24 |
WORKDIR /app
|
| 25 |
|
| 26 |
+
RUN mkdir -p /app/logs && chmod 777 /app/logs
|
| 27 |
+
|
| 28 |
COPY . .
|
| 29 |
|
| 30 |
CMD ["uvicorn", "app:app"]
|