diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-09-19 14:29:55 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-09-19 14:29:55 -0400 |
commit | 370f18f7abf4a4774a8bb7548389bcd9d54b84a4 (patch) | |
tree | 271c0bda411e83daa57f58cfc8da377b3153c7d0 | |
parent | e9b9cd2cd88e453a3a35cf3f672ba965660b9ff2 (diff) |
Some dockerfile fixes
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,10 +1,11 @@ FROM node:16 as build-deps -WORKDIR /usr/src/app +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/ |