Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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='
|
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
|