Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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 |
-
|
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 の互換オプションを有効化
|