mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-23 08:39:57 -05:00
updated debian production image tag to bullseye
This commit is contained in:
parent
5064140709
commit
c1ce6ad487
@ -6,7 +6,7 @@ RUN npm install \
|
||||
&& npm install --global postcss \
|
||||
&& npm run build:css
|
||||
# https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/buster/Dockerfile
|
||||
From debian:buster-slim
|
||||
From debian:bullseye-slim
|
||||
|
||||
LABEL maintainer="Mat-Web Co-Maintainer <jan.friedli@immerda.ch>"
|
||||
|
||||
|
@ -125,9 +125,9 @@ Make sure you configured the necessary [environment variables](#configuration).
|
||||
### Building the production image using Docker
|
||||
Build command: `docker build -f Dockerfile.production -t mat-web .`
|
||||
|
||||
Run it: `docker run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs /run/uwsgi --tmpfs=/app/upload --security-opt=no-new-privileges --security-opt=seccomp=./config/seccomp.json mat-web:latest`
|
||||
Run it: `docker run -ti -p8181:8080 --read-only --tmpfs=/tmp --tmpfs=/run/uwsgi --tmpfs=/app/upload --security-opt=no-new-privileges --security-opt=seccomp=./config/seccomp.json mat-web:latest`
|
||||
|
||||
This does mount the upload folder as tmpfs and servers the app on `localhost:8181`.
|
||||
This does mount the upload folder as tmpfs and server the app on `localhost:8181`.
|
||||
|
||||
### Building the production image using Podman
|
||||
Build: `podman build -f Dockerfile.production -t matweb-podman .`
|
||||
|
Loading…
x
Reference in New Issue
Block a user