updated debian production image tag to bullseye

This commit is contained in:
jf 2023-02-24 12:56:03 +01:00
parent 5064140709
commit c1ce6ad487
2 changed files with 3 additions and 3 deletions

View File

@ -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>"

View File

@ -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 .`