Skip to content

Commit

Permalink
update images
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Aug 31, 2023
1 parent dd29deb commit 5c15e0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/Dockerfile.compose
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine as build
FROM node:latest as build

# Set the working directory
WORKDIR /app
Expand All @@ -19,7 +19,7 @@ COPY . .
RUN yarn build

# Use nginx as the web server
FROM nginx:1.19-alpine
FROM nginx:1.25.2

# Copy the build output from the previous stage
COPY --from=build /app/build /usr/share/nginx/html
Expand Down
4 changes: 2 additions & 2 deletions frontend/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine as build
FROM node:latest as build

# Set the working directory
WORKDIR /app
Expand All @@ -16,7 +16,7 @@ COPY . .
RUN yarn build

# Use nginx as the web server
FROM nginx:1.19-alpine
FROM nginx:1.25.2

# Copy the build output from the previous stage
COPY --from=build /app/build /usr/share/nginx/html
Expand Down

0 comments on commit 5c15e0b

Please sign in to comment.