fix: docker build architecture:linux/amd64 error occur on linux/arm64 instance (#6197)
fix docker build when in linux/arm64 use docker buildx plugin to build linux/amd64 image, a build error will occur causing the build to break
This commit is contained in:
parent
a8e6028c33
commit
c3c45a8c37
@ -3,7 +3,7 @@ FROM node:14-alpine AS build
|
|||||||
WORKDIR /opt/node_app
|
WORKDIR /opt/node_app
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn --ignore-optional
|
RUN yarn --ignore-optional --network-timeout 600000
|
||||||
|
|
||||||
ARG NODE_ENV=production
|
ARG NODE_ENV=production
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user