mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-09-23 14:04:57 -04:00
updated docker run
This commit is contained in:
parent
3d89015d6b
commit
9bd985044a
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry
|
||||||
### Building the production image
|
### Building the production image
|
||||||
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 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 servers the app on `localhost:8181`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue