summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJan Friedli2020-03-28 15:22:31 +0100
committerJan Friedli2020-05-09 21:21:47 +0200
commitf8368c1b4d6b8a9f1e49a8e713753710c48c468d (patch)
treec4b69d203e47aea85fd41a4365a348f4755092f9 /README.md
parente53ea9a05167ac9b93594bb1335cae1f2a0afe1f (diff)
tested if --security-opt=no-new-privileges works
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 16990a4..3d6625f 100644
--- a/README.md
+++ b/README.md
@@ -205,9 +205,9 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry
205### Building the production image 205### Building the production image
206Build command: `docker build -f Dockerfile.production -t mat-web .` 206Build command: `docker build -f Dockerfile.production -t mat-web .`
207 207
208Run it: ` docker run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs=/var/www/mat2-web/uploads mat-web:latest` 208Run it: ` docker run -ti -p8181:8080 --security-opt=no-new-privileges --read-only --tmpfs /tmp --tmpfs=/var/www/mat2-web/uploads mat-web:latest`
209 209
210This does mount the upload folder as tmpfs and servers the app on `localhost:8181` 210This does mount the upload folder as tmpfs and servers the app on `localhost:8181`.
211 211
212# Configuration 212# Configuration
213 213