From e69d97e7ed58bb753cc89b0b8bf9a671b9dde296 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Sun, 29 Mar 2020 15:02:47 +0200 Subject: Revert "moved socket file and nginx pid to /tmpfs" This reverts commit 4731cf86b1a1a380235948cc82b2ee5fbd35f11d. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f703c0a..3d6625f 100644 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry ### Building the production image Build command: `docker build -f Dockerfile.production -t mat-web .` -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` +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` This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. -- cgit v1.3