soiz1 commited on
Commit
61c31aa
·
verified ·
1 Parent(s): 0392a60

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -29,10 +29,9 @@ RUN npm install --legacy-peer-deps
29
  ENV NODE_OPTIONS="--openssl-legacy-provider"
30
  RUN pip install huggingface_hub --break-system-packages
31
  RUN npm install git+https://huggingface.co/datasets/soiz1/s4s-vm
32
- RUN node --max-old-space-size=4096 node_modules/.bin/webpack
33
  # コンテナの起動時にサーバーを実行
34
  #CMD /bin/sh -c "python3 upload.py && npm start"
35
- CMD /bin/sh -c "./upload.sh && WEBPACK_VERBOSE=true BUILD_MODE=dist npm run build && npm start"
36
  #CMD /bin/sh -c "npm start"
37
 
38
  # コンテナがリッスンするポート
 
29
  ENV NODE_OPTIONS="--openssl-legacy-provider"
30
  RUN pip install huggingface_hub --break-system-packages
31
  RUN npm install git+https://huggingface.co/datasets/soiz1/s4s-vm
 
32
  # コンテナの起動時にサーバーを実行
33
  #CMD /bin/sh -c "python3 upload.py && npm start"
34
+ CMD /bin/sh -c "./upload.sh && NODE_OPTIONS="--max-old-space-size=15360" WEBPACK_VERBOSE=true BUILD_MODE=dist npm run build && npm start"
35
  #CMD /bin/sh -c "npm start"
36
 
37
  # コンテナがリッスンするポート