From 54d88f280164d771d18418bf396f370a569827a9 Mon Sep 17 00:00:00 2001 From: zertrin Date: Thu, 22 Oct 2020 23:46:48 +0800 Subject: [PATCH] Fix docker instructions for running without docker-compose Correct definition of config volume. Previously, it would create a `config.json` folder on the host upon first creation of the container, which prevents the app to create the `config.json` file. --- docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 2ea35c5a..0a80554d 100644 --- a/docker/README.md +++ b/docker/README.md @@ -83,7 +83,7 @@ If you want to run the container by yourself, here you go: docker run \ -p 80:80 \ -e NODE_ENV=production \ - -v /config.json:/app/data/config/config.json \ + -v :/app/data/config \ -v :/app/data/db \ -v :/app/data/images \ -v :/app/data/tmp \