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
|
# Note: Context will be the project root, so paths are relative to root
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install
|
RUN npm install --legacy-peer-deps
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user