Antoni09 commited on
Commit
116c60c
·
verified ·
1 Parent(s): 4d4018a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -7,8 +7,10 @@ RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
9
 
10
- RUN mkdir -p /data
11
- COPY web_invoice_store.json /data/web_invoice_store.json
 
 
12
 
13
  ENV DATA_DIR=/data
14
  ENV PORT=7860
 
7
 
8
  COPY . .
9
 
10
+ RUN mkdir -p /data \
11
+ && chmod -R 777 /data
12
+ # opcjonalnie, jeśli chcesz skopiować istniejący plik: COPY web_invoice_store.json /data/
13
+ # i po nim: RUN chmod 666 /data/web_invoice_store.json
14
 
15
  ENV DATA_DIR=/data
16
  ENV PORT=7860