h3110Fr13nd commited on
Commit
5c41e9e
1 Parent(s): eab0075

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,10 +23,10 @@ RUN scrapy crawl pages && \
23
  WORKDIR $HOME/app
24
 
25
  RUN --mount=type=secret,id=HF_EMAIL,mode=0444,required=true \
26
- cat /run/secrets/HF_EMAIL > $HOME/app/.env \
27
  cat $HOME/app/.env
28
  RUN --mount=type=secret,id=HF_PASS,mode=0444,required=true \
29
- cat /run/secrets/HF_PASS >> $HOME/app/.env \
30
  $HOME/app/.env
31
 
32
  EXPOSE 7860
 
23
  WORKDIR $HOME/app
24
 
25
  RUN --mount=type=secret,id=HF_EMAIL,mode=0444,required=true \
26
+ cat /run/secrets/HF_EMAIL > $HOME/app/.env &&\
27
  cat $HOME/app/.env
28
  RUN --mount=type=secret,id=HF_PASS,mode=0444,required=true \
29
+ cat /run/secrets/HF_PASS >> $HOME/app/.env &&\
30
  $HOME/app/.env
31
 
32
  EXPOSE 7860