summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJan Friedli2020-03-29 14:35:32 +0200
committerJan Friedli2020-05-09 21:21:48 +0200
commitacb6694f8215ed09f83099196aa2165ba2c9dbd8 (patch)
tree013aac524e535ad7c7342758c7968978e2baa1d7 /README.md
parent465f1151d963dced746da0e7d6c3dc1a0bd5b8df (diff)
moved socket file and nginx pid to /tmpfs
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3d6625f..f703c0a 100644
--- a/README.md
+++ b/README.md
@@ -205,7 +205,7 @@ 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 --security-opt=no-new-privileges --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 /tmpfs --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