soiz1 commited on
Commit
109464c
·
verified ·
1 Parent(s): 6b62e90

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -17,8 +17,6 @@ RUN apt-get update && \
17
 
18
  RUN ./replace_ja.sh
19
 
20
- RUN ./upload.sh
21
-
22
  ARG github_token
23
  # translations ディレクトリを作成し、権限を設定
24
  RUN mkdir -p /app/translations && chmod -R 777 /app/translations
@@ -33,7 +31,7 @@ RUN pip install huggingface_hub --break-system-packages
33
 
34
  # コンテナの起動時にサーバーを実行
35
  #CMD /bin/sh -c "python3 upload.py && npm start"
36
- CMD /bin/sh -c "BUILD_MODE=dist npm run build && npm start"
37
  #CMD /bin/sh -c "npm start"
38
 
39
  # コンテナがリッスンするポート
 
17
 
18
  RUN ./replace_ja.sh
19
 
 
 
20
  ARG github_token
21
  # translations ディレクトリを作成し、権限を設定
22
  RUN mkdir -p /app/translations && chmod -R 777 /app/translations
 
31
 
32
  # コンテナの起動時にサーバーを実行
33
  #CMD /bin/sh -c "python3 upload.py && npm start"
34
+ CMD /bin/sh -c "./upload.sh && BUILD_MODE=dist npm run build && npm start"
35
  #CMD /bin/sh -c "npm start"
36
 
37
  # コンテナがリッスンするポート