Skip to content

Commit

Permalink
use Node lts docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanicom committed Oct 20, 2023
1 parent bf0291d commit a280e67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create image based on the official Node 8 image from the dockerhub
FROM node:20.8-alpine3.17 AS builder
FROM node:lts-alpine3.17 AS builder
# Change directory so that our commands run inside this new directory
WORKDIR /usr/src/app
# Copy files
Expand All @@ -10,7 +10,7 @@ RUN npm ci --legacy-peer-deps
RUN npm run grunt ts:default

# In order to clean from building, we restarted from the original image (multi-stage build)
FROM node:20.8-alpine3.17 AS runner
FROM node:lts-alpine3.17 AS runner
# Upgrade image packages
RUN apk update && apk upgrade --no-cache
# Change directory so that our commands run inside this new directory
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create image based on the official Node 8 image from the dockerhub
FROM node:alpine3.17 AS builder
FROM node:lts-alpine3.17 AS builder
# Change directory so that our commands run inside this new directory
WORKDIR /usr/src/app
# Copy files
Expand Down

0 comments on commit a280e67

Please sign in to comment.