diff options
author | crupest <crupest@outlook.com> | 2022-11-25 21:01:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-25 21:01:20 +0800 |
commit | 63e43d1a9b880c92d73b7ec97b596c38d3e758e2 (patch) | |
tree | a6471b125c744a8bf1672ea4ce3e68ad586487ad /docker/crupest-nginx/Dockerfile | |
parent | 1534dcba89c244acbb830b77670c83b5d0e40a76 (diff) | |
download | crupest-63e43d1a9b880c92d73b7ec97b596c38d3e758e2.tar.gz crupest-63e43d1a9b880c92d73b7ec97b596c38d3e758e2.tar.bz2 crupest-63e43d1a9b880c92d73b7ec97b596c38d3e758e2.zip |
Add root page.
Diffstat (limited to 'docker/crupest-nginx/Dockerfile')
-rw-r--r-- | docker/crupest-nginx/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
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 |