From ffc4a365ace3628eaee78a42ef0768a6b66b3b8d Mon Sep 17 00:00:00 2001 From: Marvin Bechtold Date: Fri, 10 Dec 2021 17:10:00 +0100 Subject: [PATCH] Fix docker file with workaround from https://github.com/webpack/webpack/issues/14532 Signed-off-by: Marvin Bechtold --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9a838670..93ab994c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ WORKDIR /app COPY . . +# Workaround: https://github.com/webpack/webpack/issues/14532 +ENV NODE_OPTIONS=--openssl-legacy-provider + RUN yarn --network-timeout 120000 && yarn build --prod FROM nginx:alpine