mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-18 12:32:26 +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"
|
- "8000:8000"
|
||||||
|
|
||||||
rproxy:
|
rproxy:
|
||||||
image: docker.io/bitnami/nginx:1.28
|
image: docker.io/bitnami/nginx:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./reverseproxy.local.conf:/opt/bitnami/nginx/conf/nginx.conf
|
- ./reverseproxy.local.conf:/opt/bitnami/nginx/conf/nginx.conf
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ COPY . ./
|
|||||||
|
|
||||||
# production stage
|
# production stage
|
||||||
# https://hub.docker.com/r/bitnami/nginx -> always run as non-root user
|
# 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 build files from build container
|
||||||
COPY ./nginx.conf /opt/bitnami/nginx/conf/nginx.conf
|
COPY ./nginx.conf /opt/bitnami/nginx/conf/nginx.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user