test
Build and Deploy / build (push) Successful in 36s
Build and Deploy / deploy (push) Successful in 22s

This commit is contained in:
2026-05-29 19:45:31 +02:00
parent b8e9bdd2aa
commit c00902f403
-16
View File
@@ -14,19 +14,3 @@ RUN npm install
COPY . .
RUN npm run build
# ---- Runtime stage ---------------------------------------------------
FROM nginx:1.27-alpine AS runtime
# openssl is needed to generate the self-signed certificate on first start.
RUN apk add --no-cache openssl
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY docker/40-self-signed-ssl.sh /docker-entrypoint.d/40-self-signed-ssl.sh
RUN chmod +x /docker-entrypoint.d/40-self-signed-ssl.sh
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 443
# The base nginx image entrypoint runs every script in /docker-entrypoint.d.