Fix npm install in Dockerfile with --legacy-peer-deps
Build and Deploy / deploy (push) Successful in 20s
Build and Deploy / deploy (push) Successful in 20s
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ WORKDIR /app
|
||||
|
||||
# Note: Context will be the project root, so paths are relative to root
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
RUN npm install --legacy-peer-deps
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user