aboutsummaryrefslogtreecommitdiff
path: root/docker/nginx/Dockerfile
blob: 6d0400b3a9eb83c8b3d117b5a215280145edeab3 (plain)
1
2
3
4
5
6
7
8
FROM node:lts AS build-www
RUN npm install -g pnpm
COPY sites/www /sites/www
WORKDIR /sites/www
RUN pnpm install --frozen-lockfile && pnpm run build

FROM nginx:mainline
COPY --from=build-www /sites/www/dist /srv/www