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 | a48960d55e7401978b6dba3d51f074bcacfc1c07 (patch) | |
tree | 4576c6fc60b1719cb60e6e43d479133908c7cf10 /docker/crupest-nginx/Dockerfile | |
parent | ec993d5ebf1805083568b6b5c78ba29d92d3f760 (diff) | |
download | crupest-a48960d55e7401978b6dba3d51f074bcacfc1c07.tar.gz crupest-a48960d55e7401978b6dba3d51f074bcacfc1c07.tar.bz2 crupest-a48960d55e7401978b6dba3d51f074bcacfc1c07.zip |
chore(docker/nginx): use tls nodejs and change alpine to debian.
Diffstat (limited to 'docker/crupest-nginx/Dockerfile')
-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 |