Tantawi commited on
Commit
bc3984d
·
verified ·
1 Parent(s): 637bd8b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -5,6 +5,8 @@ WORKDIR /app
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
 
 
8
  COPY app/ ./app/
9
 
10
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
+ RUN mkdir -p /app/model && chmod -R 777 /app/model
9
+
10
  COPY app/ ./app/
11
 
12
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]