soiz1 commited on
Commit
ed47162
·
verified ·
1 Parent(s): 8003ebb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -30,6 +30,11 @@ RUN chmod -R 777 /app
30
 
31
  # 依存関係をインストール(競合を無視)
32
  RUN npm install --legacy-peer-deps
 
 
 
 
 
33
  RUN cd node_modules/scratch-blocks && npm install && npm run prepublish
34
 
35
  # OpenSSL の互換オプションを有効化
 
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 の互換オプションを有効化