Fix Docker artifact build on CI

This commit is contained in:
timvisee 2021-11-01 12:31:45 +01:00
parent b7582230cf
commit 3c42de0efd
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -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 \