Skip to content

Commit

Permalink
Set parent container to node:20-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed Dec 26, 2024
1 parent 8376d9d commit e809e76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:20-alpine
WORKDIR /usr/src/controller

COPY . .
Expand Down
2 changes: 1 addition & 1 deletion inbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

RUN npm i --omit=dev

FROM node:alpine
FROM node:20-alpine

ENV INBOX_PORT="25"
ENV INBOX_HOST="smtp.example.com"
Expand Down
2 changes: 1 addition & 1 deletion inbox/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

RUN npm i --omit=dev

FROM node:alpine
FROM node:20-alpine

ENV INBOX_PORT="25"
ENV INBOX_HOST="smtp.example.com"
Expand Down
3 changes: 2 additions & 1 deletion outbox/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:20
FROM node:20-alpine
WORKDIR /app
COPY . /app/

CMD ["src/server.js"]

0 comments on commit e809e76

Please sign in to comment.