semuthitamku commited on
Commit
ad74410
·
verified ·
1 Parent(s): 35619f7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -6,6 +6,7 @@ RUN chmod -R 777 /bella/*
6
  COPY . $WORKDIR
7
  RUN rm -rf node_modules
8
  RUN npm run download
9
- RUN npm i && npm i live-server
 
10
  ENV PORT=7860
11
- CMD ["npx", "live-server", "--verbose"]
 
6
  COPY . $WORKDIR
7
  RUN rm -rf node_modules
8
  RUN npm run download
9
+ RUN npm i
10
+ RUN node -e "(async () => { await import('./core.js') })()"
11
  ENV PORT=7860
12
+ CMD ["npx", "http-server", "-c-1", "--cors"]