huggingface112 commited on
Commit
80e3247
1 Parent(s): e92de71

try to fix local.db readonly permission

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -13,6 +13,8 @@ COPY . /code
13
 
14
  # make database writable
15
  RUN chmod 777 /code/instance
 
 
16
 
17
  # for huggingface
18
  CMD ["panel", "serve", "portfolioEditingPage.py", "index_page.py","--setup","backgroundTask.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "lamonkey-portfolio-management.hf.space"]
 
13
 
14
  # make database writable
15
  RUN chmod 777 /code/instance
16
+ RUN chmod 777 /code/instance/log.json
17
+ RUN chmod 777 /code/instance/local.db
18
 
19
  # for huggingface
20
  CMD ["panel", "serve", "portfolioEditingPage.py", "index_page.py","--setup","backgroundTask.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "lamonkey-portfolio-management.hf.space"]