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: