blob: 878a1115c8fb832ca86d1a6e3590bf39f0cb61ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
FROM docker.io/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 docker.io/galenguyer/nginx:spa
COPY --from=build-deps /usr/src/app/dist usr/share/nginx/html/
|