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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -30,12 +30,12 @@ RUN chmod -R 777 /app
30
 
31
  # 依存関係をインストール(競合を無視)
32
  RUN npm install --legacy-peer-deps
33
- # scratch-blocks のビルド準備(ディレクトリ名変更を含む)
 
34
  RUN cd node_modules/scratch-blocks && \
35
  npm install && \
36
  if [ -d "google-closure-library" ]; then mv google-closure-library closure-library; fi && \
37
  npm run prepublish
38
- RUN cd node_modules/scratch-blocks && npm install && npm run prepublish
39
 
40
  # OpenSSL の互換オプションを有効化
41
  ENV NODE_OPTIONS="--openssl-legacy-provider"
 
30
 
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 の互換オプションを有効化
41
  ENV NODE_OPTIONS="--openssl-legacy-provider"