mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 19:22:21 -04:00
updated debian production image tag to bullseye
This commit is contained in:
parent
5064140709
commit
c1ce6ad487
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ RUN npm install \
|
||||||
&& npm install --global postcss \
|
&& npm install --global postcss \
|
||||||
&& npm run build:css
|
&& npm run build:css
|
||||||
# https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/buster/Dockerfile
|
# 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>"
|
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
|
### Building the production image using Docker
|
||||||
Build command: `docker build -f Dockerfile.production -t mat-web .`
|
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
|
### Building the production image using Podman
|
||||||
Build: `podman build -f Dockerfile.production -t matweb-podman .`
|
Build: `podman build -f Dockerfile.production -t matweb-podman .`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue