init program-2026

This commit is contained in:
2026-08-18 14:05:11 +07:00
commit 387dfb1676
22 changed files with 2180 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# --- build stage ---
FROM node:20-alpine AS build
WORKDIR /app
COPY package.json ./
RUN npm install
COPY src ./src
COPY scripts ./scripts
COPY program-2026 ./program-2026
RUN sh scripts/build.sh program-2026
# --- serve stage ---
FROM caddy:2-alpine
COPY --from=build /app/program-2026 /srv/sites/program-2026
COPY app.Caddyfile /etc/caddy/Caddyfile