diff options
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -195,7 +195,7 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry | |||
| 195 | ### Building the production image | 195 | ### Building the production image |
| 196 | Build command: `docker build -f Dockerfile.production -t mat-web .` | 196 | Build command: `docker build -f Dockerfile.production -t mat-web .` |
| 197 | 197 | ||
| 198 | Run it: `docker run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs /run/uwsgi --tmpfs=/app/upload mat-web:latest` | 198 | 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` |
| 199 | 199 | ||
| 200 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. | 200 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. |
| 201 | 201 | ||
