Subham9126 commited on
Commit
80d8274
·
verified ·
1 Parent(s): beaad89

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -16
Dockerfile CHANGED
@@ -1,19 +1,9 @@
1
- FROM ghcr.io/azimuttapp/azimutt:main
2
-
3
- USER root
4
-
5
- RUN chown -R 1000:0 /app && chmod -R g+rw /app
6
-
7
- USER 1000
8
-
9
- ENV PORT=7860 \
10
- AUTH_PASSWORD=true \
11
- SKIP_EMAIL_CONFIRMATION=true \
12
- FILE_STORAGE_ADAPTER=local
13
 
 
 
14
  EXPOSE 7860
15
 
16
- ENTRYPOINT []
17
- CMD ["/bin/sh", "-c", \
18
- "/app/bin/azimutt eval 'Azimutt.Release.migrate()' && \
19
- /app/bin/azimutt start"]
 
1
+ # Use the official ChartDB image
2
+ FROM chartdb/chartdb:latest
 
 
 
 
 
 
 
 
 
 
3
 
4
+ # Hugging Face Spaces uses port 7860 by default
5
+ ENV PORT 7860
6
  EXPOSE 7860
7
 
8
+ # Start the application
9
+ CMD ["npm", "start"]