mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 02:10:52 +08:00
Add cmd_args env variable to pass cmd options to wildduck
This commit is contained in:
parent
71f515240a
commit
ab82f7377d
1 changed files with 3 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue