aboutsummaryrefslogtreecommitdiff
path: root/docker/nginx/Dockerfile
blob: 86052b9d01fef2d92d8087db0f567686f4df70d4 (plain)
1
2
3
4
5
6
7
8
9
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
ADD sites/www/favicon.ico /srv/www/favicon.ico