what4or commited on
Commit
6f4c207
1 Parent(s): 6af99fe

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y apache2-utils sqlite3
16
  COPY webui.db /webui.db
17
  RUN --mount=type=secret,id=ORIN_PASSWORD,mode=0444,required=true \
18
  htpasswd -bnBC 10 "" "$(cat /run/secrets/ORIN_PASSWORD)" | tr -d ':\n' > /tmp/password_hash && \
19
- sqlite3 /webui.db "UPDATE auth SET password='$(cat /tmp/password_hash)' WHERE email='vilarin@huggingface.co';" && \
20
  rm /tmp/password_hash
21
 
22
  # Copy the updated webui.db to the desired location
 
16
  COPY webui.db /webui.db
17
  RUN --mount=type=secret,id=ORIN_PASSWORD,mode=0444,required=true \
18
  htpasswd -bnBC 10 "" "$(cat /run/secrets/ORIN_PASSWORD)" | tr -d ':\n' > /tmp/password_hash && \
19
+ sqlite3 /webui.db "UPDATE auth SET password='$(cat /tmp/password_hash)' WHERE email='what4or@huggingface.co';" && \
20
  rm /tmp/password_hash
21
 
22
  # Copy the updated webui.db to the desired location