mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-07 21:55:25 +08:00
fix(dockerfile): Use JSON array for CMD
This commit is contained in:
parent
d462b5a55f
commit
6d7d47e9eb
1 changed files with 1 additions and 5 deletions
|
@ -17,9 +17,5 @@ RUN npm install --production
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENV WILDDUCK_APPDIR=/wildduck \
|
|
||||||
WILDDUCK_CONFIG=/wildduck/config/default.toml \
|
|
||||||
CMD_ARGS=""
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||||
CMD node ${WILDDUCK_APPDIR}/server.js --config=${WILDDUCK_CONFIG} ${CMD_ARGS}
|
CMD ["node", "/wildduck/server.js", "--config=/wildduck/config/default.toml"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue