tracinginsights commited on
Commit
04cf17e
·
1 Parent(s): d3b387f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -25,6 +25,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
25
 
26
  ENV FASTF1_CACHE_DIR="/code/cache"
27
 
 
 
 
 
28
  COPY . .
29
 
30
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
25
 
26
  ENV FASTF1_CACHE_DIR="/code/cache"
27
 
28
+ # Add the following lines to create the main.db file
29
+ RUN touch /code/cache/main.db
30
+ RUN chmod a+w /code/cache/main.db
31
+
32
  COPY . .
33
 
34
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]