update for pc server

This commit is contained in:
2025-11-24 20:39:18 +01:00
parent 4df7501aba
commit bd1d56e1d0
6 changed files with 96 additions and 101 deletions

View File

@@ -1,6 +0,0 @@
:80 {
root * /srv
encode gzip
file_server
try_files {path} /index.html
}

View File

@@ -1,10 +0,0 @@
FROM node:18-alpine as build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM caddy:2-alpine
COPY --from=build /app/dist /srv
COPY Caddyfile /etc/caddy/Caddyfile