Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -10,8 +10,8 @@ RUN apt-get update && apt-get install -y git
|
|
10 |
# GitHubリポジトリをクローン
|
11 |
RUN git clone https://github.com/PenguinMod/penguinmod.github.io.git .
|
12 |
|
13 |
-
#
|
14 |
-
RUN npm install
|
15 |
|
16 |
# コンテナの起動時にサーバーを実行
|
17 |
CMD ["npm", "start"]
|
|
|
10 |
# GitHubリポジトリをクローン
|
11 |
RUN git clone https://github.com/PenguinMod/penguinmod.github.io.git .
|
12 |
|
13 |
+
# 依存関係をインストール(競合を無視)
|
14 |
+
RUN npm install --legacy-peer-deps
|
15 |
|
16 |
# コンテナの起動時にサーバーを実行
|
17 |
CMD ["npm", "start"]
|