Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaiNguyenDuc authored Jun 4, 2024
1 parent fab8c25 commit 552a43c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front-end/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#### Stage 1: Build the react application
FROM node:12.4.0-alpine as build
FROM alpine:3.19 as build

# Configure the main working directory inside the docker image.
# This is the base directory used in any further RUN, COPY, and ENTRYPOINT
Expand All @@ -22,4 +22,4 @@ RUN npm run build
EXPOSE 3000

# Start the Node.js server
CMD ["npm", "start"]
CMD ["npm", "start"]

0 comments on commit 552a43c

Please sign in to comment.