From c1ce6ad487af22b63ec1334bccc56e36aba93718 Mon Sep 17 00:00:00 2001 From: jf Date: Fri, 24 Feb 2023 12:56:03 +0100 Subject: [PATCH] updated debian production image tag to bullseye --- Dockerfile.production | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.production b/Dockerfile.production index b00f57d..f2b6457 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 " diff --git a/README.md b/README.md index 67863ab..3983c6f 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 .`