From 6d7d47e9eb61cb7fbdab70b6623a3a7ca0c77fa0 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Mon, 28 Oct 2024 08:56:52 +0200 Subject: [PATCH] fix(dockerfile): Use JSON array for CMD --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca0d1d78..ad93c3fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]