V1.1.0 Responsive

Footer angepasst
Lauffähigkeit auf Server verbessert
deploy.sh mit for loop
This commit is contained in:
rxf
2026-03-22 18:44:22 +01:00
parent b71d92646b
commit 0b9d21c24c
11 changed files with 258 additions and 20 deletions

View File

@@ -1,5 +1,11 @@
# syntax=docker/dockerfile:1
# Build stage
FROM node:20-alpine AS builder
FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
# Build arguments
ARG BUILD_DATE=unknown
ARG VERSION=unknown
WORKDIR /app
@@ -12,14 +18,18 @@ RUN npm ci
# Copy source code
COPY . .
# Build app
# Build app with build info
ENV VITE_BUILD_DATE=${BUILD_DATE}
ENV VITE_VERSION=${VERSION}
RUN npm run build
# Production stage
FROM nginx:alpine
WORKDIR /usr/share/nginx/html
# Copy built app from builder
COPY --from=builder /app/dist /usr/share/nginx/html
COPY --from=builder /app/dist .
# Copy nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf