ishworrsubedii commited on
Commit
18af278
·
1 Parent(s): 21ba534

update: dockerfile logs folder creation

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -8,8 +8,8 @@ RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  COPY . .
10
 
11
- EXPOSE 7860
12
 
13
- VOLUME ["/app/logs"]
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"]