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 | 6259ab6ae42fefc3328d61fd016401342c08a90f (patch) | |
| tree | a6471b125c744a8bf1672ea4ce3e68ad586487ad /docker/crupest-nginx/Dockerfile | |
| parent | d299efb37c741b670c5fae5362362cea2c13e0b8 (diff) | |
| download | crupest-6259ab6ae42fefc3328d61fd016401342c08a90f.tar.gz crupest-6259ab6ae42fefc3328d61fd016401342c08a90f.tar.bz2 crupest-6259ab6ae42fefc3328d61fd016401342c08a90f.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 |
