Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -13,6 +13,9 @@ RUN git clone https://github.com/PenguinMod/penguinmod.github.io.git .
|
|
13 |
# 依存関係をインストール(競合を無視)
|
14 |
RUN npm install --legacy-peer-deps
|
15 |
|
|
|
|
|
|
|
16 |
# コンテナの起動時にサーバーを実行
|
17 |
CMD ["npm", "start"]
|
18 |
|
|
|
13 |
# 依存関係をインストール(競合を無視)
|
14 |
RUN npm install --legacy-peer-deps
|
15 |
|
16 |
+
# OpenSSL の互換オプションを有効化
|
17 |
+
ENV NODE_OPTIONS="--openssl-legacy-provider"
|
18 |
+
|
19 |
# コンテナの起動時にサーバーを実行
|
20 |
CMD ["npm", "start"]
|
21 |
|