Fix Docker artifact build on CI
This commit is contained in:
parent
b7582230cf
commit
3c42de0efd
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
# Build project
|
# Build project
|
||||||
FROM node:current-alpine AS builder
|
FROM node:current-alpine AS builder
|
||||||
|
ENV NODE_OPTIONS=--openssl-legacy-provider
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
# Add user
|
# Add user
|
||||||
&& addgroup --gid 10001 app \
|
&& addgroup --gid 10001 app \
|
||||||
|
@ -27,6 +28,7 @@ RUN set -x \
|
||||||
|
|
||||||
# Main image
|
# Main image
|
||||||
FROM node:current-alpine
|
FROM node:current-alpine
|
||||||
|
ENV NODE_OPTIONS=--openssl-legacy-provider
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
# Add user
|
# Add user
|
||||||
&& addgroup --gid 10001 app \
|
&& addgroup --gid 10001 app \
|
||||||
|
|
Loading…
Reference in a new issue