soiz1 commited on
Commit
359ae1b
·
verified ·
1 Parent(s): 4a5144c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]