diff options
author | crupest <crupest@outlook.com> | 2024-08-25 16:03:14 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-08-25 16:03:14 +0800 |
commit | fbc2a60896664ae8fa1b05d0871eebd3ac4acf36 (patch) | |
tree | 4576c6fc60b1719cb60e6e43d479133908c7cf10 /docker | |
parent | 289c71d698ce97b5765a3eec2b35d8fb7c06f3a2 (diff) | |
download | crupest-fbc2a60896664ae8fa1b05d0871eebd3ac4acf36.tar.gz crupest-fbc2a60896664ae8fa1b05d0871eebd3ac4acf36.tar.bz2 crupest-fbc2a60896664ae8fa1b05d0871eebd3ac4acf36.zip |
chore(docker/nginx): use tls nodejs and change alpine to debian.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/crupest-nginx/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/crupest-nginx/Dockerfile b/docker/crupest-nginx/Dockerfile index e14e939..6d0400b 100644 --- a/docker/crupest-nginx/Dockerfile +++ b/docker/crupest-nginx/Dockerfile @@ -1,8 +1,8 @@ -FROM node:current-alpine AS build-www +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-alpine +FROM nginx:mainline COPY --from=build-www /sites/www/dist /srv/www |