h3110Fr13nd commited on
Commit
bdbc7f2
1 Parent(s): c2f7d4d
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -27,6 +27,8 @@ RUN --mount=type=secret,id=HF_EMAIL,mode=0444,required=true \
27
  RUN --mount=type=secret,id=HF_PASS,mode=0444,required=true \
28
  echo "HF_PASS=\"$(cat /run/secrets/HF_PASS)\"" >> $HOME/app/.env &&\
29
  cat $HOME/app/.env
 
 
30
 
31
  EXPOSE 7860
32
  CMD ["python", "main.py"]
 
27
  RUN --mount=type=secret,id=HF_PASS,mode=0444,required=true \
28
  echo "HF_PASS=\"$(cat /run/secrets/HF_PASS)\"" >> $HOME/app/.env &&\
29
  cat $HOME/app/.env
30
+ RUN chown user:user $HOME/app/.env
31
+
32
 
33
  EXPOSE 7860
34
  CMD ["python", "main.py"]