Skip to content

Commit

Permalink
Fix Dockerfile deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Akzuu committed Apr 17, 2024
1 parent 2ebacf6 commit dc90442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine as build
FROM node:20-alpine as build

ENV NODE_ENV production

Expand All @@ -14,4 +14,4 @@ RUN npm run build
# Serve app with nginx
FROM nginx:1.25.1
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY --from=build /react-app/build /usr/share/nginx/html
COPY --from=build /react-app/dist /usr/share/nginx/html

0 comments on commit dc90442

Please sign in to comment.