Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sarithapillai8 authored Oct 17, 2024
1 parent b97e264 commit 91c29ce
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:16.0
FROM node:20.11
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install -g [email protected]
Expand All @@ -8,4 +8,4 @@ RUN npm run build
FROM nginx:alpine
COPY --from=0 /usr/src/app/build/ /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 91c29ce

Please sign in to comment.