soiz1 commited on
Commit
18a0391
·
verified ·
1 Parent(s): 44a42c1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -16,7 +16,6 @@ RUN apt-get update && \
16
  git lfs install
17
 
18
  RUN ./replace_ja.sh
19
- ENV WEBPACK_VERBOSE=true npm run build
20
 
21
  ARG github_token
22
  # translations ディレクトリを作成し、権限を設定
@@ -34,7 +33,7 @@ RUN npm install git+https://huggingface.co/datasets/soiz1/s4s-vm
34
 
35
  # コンテナの起動時にサーバーを実行
36
  #CMD /bin/sh -c "python3 upload.py && npm start"
37
- CMD /bin/sh -c "./upload.sh && BUILD_MODE=dist npm run build && npm start"
38
  #CMD /bin/sh -c "npm start"
39
 
40
  # コンテナがリッスンするポート
 
16
  git lfs install
17
 
18
  RUN ./replace_ja.sh
 
19
 
20
  ARG github_token
21
  # translations ディレクトリを作成し、権限を設定
 
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"
37
  #CMD /bin/sh -c "npm start"
38
 
39
  # コンテナがリッスンするポート