gstdl commited on
Commit
be8bd51
·
1 Parent(s): fb3a7b3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -32,6 +32,11 @@ RUN pip3 install --upgrade pip && pip3 install --no-cache-dir -q -r requirements
32
  # Copy code to container
33
  COPY app /app
34
 
 
 
 
 
 
35
 
36
  # Expose port 5000
37
  EXPOSE 5000
 
32
  # Copy code to container
33
  COPY app /app
34
 
35
+ # Give container write permission to sqlite db
36
+ RUN sudo chmod 774 /app/dataset/ihsg.db
37
+
38
+ # Update database
39
+ RUN python3 update_database.py
40
 
41
  # Expose port 5000
42
  EXPOSE 5000