From bb4871f3ba615913338bf056fb67d7abdc0066d9 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Mon, 19 Sep 2022 14:31:36 -0400 Subject: Some dockerfile fixes --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e622619..5d4a77b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ FROM node:16 as build-deps WORKDIR /usr/src/app COPY package.json pnpm-lock.yaml ./ +RUN echo "strict-peer-dependencies=false" >> .npmrc RUN npm install --global pnpm && \ pnpm install COPY . ./ RUN pnpm run build -FROM cr.galenguyer.com/nginx:spa +FROM cr.galenguyer.com/nginx/spa COPY --from=build-deps /usr/src/app/dist usr/share/nginx/html/ -- cgit v1.2.3