From 63e43d1a9b880c92d73b7ec97b596c38d3e758e2 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 25 Nov 2022 21:01:20 +0800 Subject: Add root page. --- docker/crupest-nginx/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docker/crupest-nginx/Dockerfile (limited to 'docker/crupest-nginx/Dockerfile') diff --git a/docker/crupest-nginx/Dockerfile b/docker/crupest-nginx/Dockerfile new file mode 100644 index 0000000..e5e4755 --- /dev/null +++ b/docker/crupest-nginx/Dockerfile @@ -0,0 +1,8 @@ +FROM node:latest AS build +RUN npm install -g pnpm +COPY sites/www /sites/www +WORKDIR /sites/www +RUN pnpm install --frozen-lockfile && pnpm run build + +FROM nginx:latest +COPY --from=build /sites/www/dist /srv/www -- cgit v1.2.3