iridescentX commited on
Commit
a09523a
·
verified ·
1 Parent(s): 8262c38

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -16,14 +16,10 @@ RUN apt-get update && apt-get install -y apache2-utils sqlite3
16
  # sqlite3 /webui.db "UPDATE auth SET password='$(cat /tmp/password_hash)' WHERE email='vilarin@huggingface.co';" && \
17
  # rm /tmp/password_hash
18
 
19
- # Copy the updated webui.db to the desired location
20
- # RUN cp /webui.db /app/backend/data/webui.db
21
- COPY webui.db /app/backend/data/webui.db
22
-
23
  RUN chmod -R 777 /app/backend/static
24
  RUN chmod -R 777 /app/backend/data
25
  RUN chmod -R 777 /app/cache
26
 
27
- EXPOSE 7860
28
 
29
  CMD ["bash", "start.sh"]
 
16
  # sqlite3 /webui.db "UPDATE auth SET password='$(cat /tmp/password_hash)' WHERE email='vilarin@huggingface.co';" && \
17
  # rm /tmp/password_hash
18
 
 
 
 
 
19
  RUN chmod -R 777 /app/backend/static
20
  RUN chmod -R 777 /app/backend/data
21
  RUN chmod -R 777 /app/cache
22
 
23
+ EXPOSE 8080
24
 
25
  CMD ["bash", "start.sh"]