soiz1 commited on
Commit
a699748
·
verified ·
1 Parent(s): 366d4e2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -31,10 +31,9 @@ RUN chmod -R 777 /app
31
  # 依存関係をインストール(競合を無視)
32
  RUN npm install --legacy-peer-deps
33
 
34
- # scratch-blocks の依存インストールとディレクトリ名変更、ビルド
35
  RUN cd node_modules/scratch-blocks && \
36
  npm install && \
37
- if [ -d "google-closure-library" ]; then mv google-closure-library closure-library; fi && \
38
  npm run prepublish
39
 
40
  # OpenSSL の互換オプションを有効化
 
31
  # 依存関係をインストール(競合を無視)
32
  RUN npm install --legacy-peer-deps
33
 
 
34
  RUN cd node_modules/scratch-blocks && \
35
  npm install && \
36
+ [ -d "google-closure-library" ] && mv google-closure-library closure-library || echo "No need to rename" && \
37
  npm run prepublish
38
 
39
  # OpenSSL の互換オプションを有効化