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
commit34704b2090c48d9ab9e7458475fd701a38706ae7 (patch)
tree2aff2885ecfbef32095daf205bf2ebb32a7f2c34 /docker/nginx/Dockerfile
parent594691a66ceb00536e133ece321846f7ba49f881 (diff)
downloadcrupest-34704b2090c48d9ab9e7458475fd701a38706ae7.tar.gz
crupest-34704b2090c48d9ab9e7458475fd701a38706ae7.tar.bz2
crupest-34704b2090c48d9ab9e7458475fd701a38706ae7.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"]