Skip to content

Commit 6d7d47e

Browse files
committed
fix(dockerfile): Use JSON array for CMD
1 parent d462b5a commit 6d7d47e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Dockerfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,5 @@ RUN npm install --production
1717

1818
COPY . .
1919

20-
ENV WILDDUCK_APPDIR=/wildduck \
21-
WILDDUCK_CONFIG=/wildduck/config/default.toml \
22-
CMD_ARGS=""
23-
2420
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
25-
CMD node ${WILDDUCK_APPDIR}/server.js --config=${WILDDUCK_CONFIG} ${CMD_ARGS}
21+
CMD ["node", "/wildduck/server.js", "--config=/wildduck/config/default.toml"]

0 commit comments

Comments
 (0)