h3110Fr13nd commited on
Commit
7a89c8b
1 Parent(s): f74d861

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,9 +4,9 @@ WORKDIR /app
4
  RUN pip install -r requirements.txt
5
  RUN playwright install-deps
6
  RUN --mount=type=secret,id=HF_EMAIL,mode=0444,required=true \
7
- cat /run/secrets/HF_EMAIL > /home/user/app/.env
8
  RUN --mount=type=secret,id=HF_PASS,mode=0444,required=true \
9
- cat /run/secrets/HF_PASS >> /home/user/app/.env
10
  RUN useradd -m -u 1000 user
11
  USER user
12
  ENV HOME=/home/user \
 
4
  RUN pip install -r requirements.txt
5
  RUN playwright install-deps
6
  RUN --mount=type=secret,id=HF_EMAIL,mode=0444,required=true \
7
+ cat /run/secrets/HF_EMAIL
8
  RUN --mount=type=secret,id=HF_PASS,mode=0444,required=true \
9
+ cat /run/secrets/HF_PASS
10
  RUN useradd -m -u 1000 user
11
  USER user
12
  ENV HOME=/home/user \