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}