soiz1 commited on
Commit
0392a60
·
verified ·
1 Parent(s): 8f7555c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -21,7 +21,6 @@ ARG github_token
21
  # translations ディレクトリを作成し、権限を設定
22
  RUN mkdir -p /app/translations && chmod -R 777 /app/translations
23
  RUN chmod -R 777 /app
24
- RUN node --max-old-space-size=4096 node_modules/.bin/webpack
25
 
26
  # 依存関係をインストール(競合を無視) npx npm-check-updates -u &&
27
  RUN npm install --legacy-peer-deps
@@ -30,7 +29,7 @@ RUN npm install --legacy-peer-deps
30
  ENV NODE_OPTIONS="--openssl-legacy-provider"
31
  RUN pip install huggingface_hub --break-system-packages
32
  RUN npm install git+https://huggingface.co/datasets/soiz1/s4s-vm
33
-
34
  # コンテナの起動時にサーバーを実行
35
  #CMD /bin/sh -c "python3 upload.py && npm start"
36
  CMD /bin/sh -c "./upload.sh && WEBPACK_VERBOSE=true BUILD_MODE=dist npm run build && npm start"
 
21
  # translations ディレクトリを作成し、権限を設定
22
  RUN mkdir -p /app/translations && chmod -R 777 /app/translations
23
  RUN chmod -R 777 /app
 
24
 
25
  # 依存関係をインストール(競合を無視) npx npm-check-updates -u &&
26
  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"