diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -205,7 +205,7 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry | |||
| 205 | ### Building the production image | 205 | ### Building the production image |
| 206 | Build command: `docker build -f Dockerfile.production -t mat-web .` | 206 | Build command: `docker build -f Dockerfile.production -t mat-web .` |
| 207 | 207 | ||
| 208 | Run it: ` docker run -ti -p8181:8080 --security-opt=no-new-privileges --read-only --tmpfs /tmp --tmpfs=/var/www/mat2-web/uploads mat-web:latest` | 208 | Run it: `docker run -ti -p8181:8080 --security-opt=no-new-privileges --read-only --tmpfs=/tmp --tmpfs /tmpfs --tmpfs=/var/www/mat2-web/uploads mat-web:latest` |
| 209 | 209 | ||
| 210 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. | 210 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. |
| 211 | 211 | ||
