Mode switching (#10) (#26)

This commit is contained in:
2026-02-16 11:30:46 +00:00
parent 4e5b873087
commit b7731bd83f
8 changed files with 771 additions and 83 deletions

View File

@@ -7,17 +7,6 @@
# Also used for the lite (unmanaged) deployment.
# ==========================================
# Build stage
FROM alpine:3.19 AS builder
WORKDIR /app
RUN apk add --no-cache bash coreutils
COPY build.sh ./
COPY src ./src
RUN chmod +x build.sh && ./build.sh
# Production stage
FROM nginx:alpine
@@ -25,7 +14,7 @@ FROM nginx:alpine
COPY nginx.frontend.conf /etc/nginx/conf.d/default.conf
# Built SPA files
COPY --from=builder /app/standalone /usr/share/nginx/html
COPY src /usr/share/nginx/html
EXPOSE 80