Skip to content

Commit

Permalink
fix(dockerfile): Use JSON array for CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Oct 28, 2024
1 parent d462b5a commit 6d7d47e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 6d7d47e

Please sign in to comment.