From ab82f7377d986fb51616608a698c406b7ba77373 Mon Sep 17 00:00:00 2001 From: thebongy Date: Sat, 29 Feb 2020 12:41:44 +0530 Subject: [PATCH] Add cmd_args env variable to pass cmd options to wildduck --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b32446d4..fdee4af4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ COPY . . RUN npm install --production ENV WILDDUCK_APPDIR=/wildduck \ - WILDDUCK_CONFIG=/wildduck/config/default.toml + WILDDUCK_CONFIG=/wildduck/config/default.toml \ + CMD_ARGS="" ENTRYPOINT ["/usr/bin/dumb-init", "--"] -CMD node ${WILDDUCK_APPDIR}/server.js --config=${WILDDUCK_CONFIG} +CMD node ${WILDDUCK_APPDIR}/server.js --config=${WILDDUCK_CONFIG} ${CMD_ARGS}