aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-09-19 14:31:36 -0400
committerGalen Guyer <galen@galenguyer.com>2022-09-19 14:31:36 -0400
commitbb4871f3ba615913338bf056fb67d7abdc0066d9 (patch)
tree9cbef25c83a93269d6ef2ac49cb74e34c72ac77a
parent935ef7d2f76cca7bc1f9840dc357de85f93a1ec2 (diff)
Some dockerfile fixes
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
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/