diff --git a/Dockerfile.production b/Dockerfile.production index b00f57da3cca53ee6a26b9cf7df456b3825355e9..f2b6457b6e64df41fdc9f2f789eea30bb66ba08e 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -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>" diff --git a/README.md b/README.md index 67863ab8b0d0fdfb6e9184d740298d129debe078..3983c6f5b749dfd9663dcc114f4876afd6627fff 100644 --- a/README.md +++ b/README.md @@ -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 .`