From 08b310c842751861d617c30191d6754b6fd2f8b4 Mon Sep 17 00:00:00 2001 From: Tony Vi Date: Thu, 25 May 2023 00:09:30 +0300 Subject: [PATCH] chore(docker): use bin path to run binary --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f1a02bf1..fa1009766 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ RUN npx prisma generate EXPOSE 3000 -CMD ["concurrently", "node background/worker/index.js", "node server.js"] +CMD ["node_modules/.bin/concurrently", "node background/worker/index.js", "node server.js"] diff --git a/README.md b/README.md index 869c577ef..1d17e08b7 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ RUN npx prisma generate EXPOSE 3000 -CMD ["concurrently", "node background/worker/index.js", "node server.js"] +CMD ["node_modules/.bin/concurrently", "node background/worker/index.js", "node server.js"] ``` Then use this `Dockerfile` with Docker Compose is as follows: