negiix 更换成 caddy

This commit is contained in:
yml2213
2026-06-11 04:17:36 +08:00
parent 4b9ac0598f
commit c0403fc1ea
10 changed files with 194 additions and 82 deletions
-13
View File
@@ -1,13 +0,0 @@
FROM node:24-alpine AS build
WORKDIR /src
COPY frontend/package*.json ./
RUN npm install
COPY frontend/ .
RUN npm run build
FROM nginx:1.29-alpine
COPY --from=build /src/dist /usr/share/nginx/html
COPY deploy/nginx/default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80