Skip to content

Commit

Permalink
✨ Add netcat to backend image (used for health check)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinbreiz committed Aug 23, 2023
1 parent 5fc04b0 commit 7094c97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:18.16.0

RUN apt-get update && apt-get install -y netcat && rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY . .
Expand All @@ -8,4 +10,4 @@ RUN yarn install

EXPOSE 50051

CMD ["yarn", "start"]
CMD ["yarn", "start"]
2 changes: 2 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:18.16.0

RUN apt-get update && apt-get install -y netcat && rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY ./package.json ./
Expand Down

0 comments on commit 7094c97

Please sign in to comment.