fix(dockerfile): Use JSON array for CMD

This commit is contained in:
Andris Reinman 2024-10-28 08:56:52 +02:00
parent d462b5a55f
commit 6d7d47e9eb
No known key found for this signature in database
GPG key ID: DC6C83F4D584D364

View file

@ -17,9 +17,5 @@ RUN npm install --production
COPY . .
ENV WILDDUCK_APPDIR=/wildduck \
WILDDUCK_CONFIG=/wildduck/config/default.toml \
CMD_ARGS=""
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"]