Skip to content

Commit

Permalink
using entrypoint and single command in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rally25rs committed Nov 19, 2019
1 parent 71a3fc1 commit 48fe9eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/k8s-when-ready-client/Dockerfile
Expand Up @@ -9,4 +9,4 @@ RUN yarn install --production --non-interactive
COPY . /usr/src/app

EXPOSE 3000
CMD ["node", "index.js"]
ENTRYPOINT ["node index.js"]
2 changes: 1 addition & 1 deletion packages/k8s-when-ready-server/Dockerfile
Expand Up @@ -9,4 +9,4 @@ RUN yarn install --production --non-interactive
COPY . /usr/src/app

EXPOSE 3000
CMD ["node", "index.js"]
ENTRYPOINT ["node index.js"]

0 comments on commit 48fe9eb

Please sign in to comment.