Skip to content

Commit

Permalink
chore(docker): use bin path to run binary
Browse files Browse the repository at this point in the history
  • Loading branch information
awinogradov committed May 25, 2023
1 parent aa2ab75 commit 08b310c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 08b310c

Please sign in to comment.