aboutsummaryrefslogtreecommitdiff
path: root/docker/nginx/Dockerfile
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-22 18:11:35 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-23 01:36:11 +0800
commit687ae968e10e1738c105fc0538fc29ccb08bfbbf (patch)
tree09217d1f06b435cbab5f665cf0bc0bd2b0e8b8e7 /docker/nginx/Dockerfile
parent540bd737f6a805459becfaef4d89686a418efa04 (diff)
downloadcrupest-687ae968e10e1738c105fc0538fc29ccb08bfbbf.tar.gz
crupest-687ae968e10e1738c105fc0538fc29ccb08bfbbf.tar.bz2
crupest-687ae968e10e1738c105fc0538fc29ccb08bfbbf.zip
feat(services): refactor structure.
Diffstat (limited to 'docker/nginx/Dockerfile')
-rw-r--r--docker/nginx/Dockerfile12
1 files changed, 0 insertions, 12 deletions
diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile
deleted file mode 100644
index 67d41d1..0000000
--- a/docker/nginx/Dockerfile
+++ /dev/null
@@ -1,12 +0,0 @@
-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
-COPY --from=build-www /sites/www/dist /srv/www
-ADD sites/www/favicon.ico /srv/www/favicon.ico
-RUN apt update && apt-get install -y tini certbot && rm -rf /var/lib/apt/lists/*
-ADD --chmod=755 certbot.bash nginx-wrapper.bash /app/
-CMD ["/usr/bin/tini", "--", "/app/nginx-wrapper.bash"]