diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-22 18:11:35 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-23 01:36:11 +0800 |
commit | 1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8 (patch) | |
tree | 585b6124b0100371b4bd8a291c4a59fbb5fbf1fe /docker/nginx/Dockerfile | |
parent | a931457d61b053682d5e89a0cfb411e43e5e21c7 (diff) | |
download | crupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.tar.gz crupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.tar.bz2 crupest-1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8.zip |
feat(services): refactor structure.
Diffstat (limited to 'docker/nginx/Dockerfile')
-rw-r--r-- | docker/nginx/Dockerfile | 12 |
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"] |