summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjf2023-02-24 12:56:03 +0100
committerjf2023-02-24 12:56:03 +0100
commitc1ce6ad487af22b63ec1334bccc56e36aba93718 (patch)
treebc270585f0d01d261cc3c529fed486e142d35148
parent5064140709bbecf22033ace9e4263841f18aa022 (diff)
updated debian production image tag to bullseyev0.8.7
-rw-r--r--Dockerfile.production2
-rw-r--r--README.md4
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 \
6 && npm install --global postcss \ 6 && npm install --global postcss \
7 && npm run build:css 7 && npm run build:css
8# https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/buster/Dockerfile 8# https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/buster/Dockerfile
9From debian:buster-slim 9From debian:bullseye-slim
10 10
11LABEL maintainer="Mat-Web Co-Maintainer <jan.friedli@immerda.ch>" 11LABEL maintainer="Mat-Web Co-Maintainer <jan.friedli@immerda.ch>"
12 12
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).
125### Building the production image using Docker 125### Building the production image using Docker
126Build command: `docker build -f Dockerfile.production -t mat-web .` 126Build command: `docker build -f Dockerfile.production -t mat-web .`
127 127
128Run 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` 128Run 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`
129 129
130This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. 130This does mount the upload folder as tmpfs and server the app on `localhost:8181`.
131 131
132### Building the production image using Podman 132### Building the production image using Podman
133Build: `podman build -f Dockerfile.production -t matweb-podman .` 133Build: `podman build -f Dockerfile.production -t matweb-podman .`