diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-09-19 14:31:49 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-09-19 14:31:49 -0400 |
commit | 5d3f85a6af8f35e264e0bd95858bfb85c4212b5d (patch) | |
tree | a614cc6bd66ee3b8b0463f78c8ee704b490bc9bd /Dockerfile | |
parent | 73017bd8c7858724893cdd7d124a08235efe8120 (diff) |
Some dockerfile fixes
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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/ |