mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-16 03:22:25 +01:00
feat: Add frontend Dockerfile for containerized builds and update reverse proxy to use latest Nginx image.
This commit is contained in:
@@ -50,7 +50,7 @@ services:
|
||||
- "8000:8000"
|
||||
|
||||
rproxy:
|
||||
image: docker.io/bitnami/nginx:1.28
|
||||
image: docker.io/bitnami/nginx:latest
|
||||
volumes:
|
||||
- ./reverseproxy.local.conf:/opt/bitnami/nginx/conf/nginx.conf
|
||||
depends_on:
|
||||
|
||||
@@ -41,7 +41,7 @@ COPY . ./
|
||||
|
||||
# production stage
|
||||
# https://hub.docker.com/r/bitnami/nginx -> always run as non-root user
|
||||
FROM docker.io/bitnami/nginx:1.28 AS prod
|
||||
FROM docker.io/bitnami/nginx:latest AS prod
|
||||
|
||||
# copy build files from build container
|
||||
COPY ./nginx.conf /opt/bitnami/nginx/conf/nginx.conf
|
||||
|
||||
Reference in New Issue
Block a user