fix: docker build (#2607)

This commit is contained in:
Alex Varchuk 2024-10-16 13:29:44 +03:00 committed by GitHub
parent 4736c54edd
commit 1593d01936
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ RUN apk update && apk add --no-cache git
WORKDIR /build WORKDIR /build
COPY package.json package-lock.json /build/ COPY package.json package-lock.json /build/
RUN npm ci --no-optional --ignore-scripts RUN npm ci --no-optional --ignore-scripts
RUN npm explore esbuild -- npm run postinstall
# copy only required for the build files # copy only required for the build files
COPY src /build/src COPY src /build/src