Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
loyhongshenggg committed Nov 4, 2023
1 parent fd8b76a commit 87e0686
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ COPY --from=builder /client/build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
CMD ["nginx", "-g", "daemon off;"]

# To test it alone, run "docker build -t client ." inside /client
# To run the image, run "docker run -d -p 3002:3002 client" inside /client

# For dev mode
# FROM node:16-alpine as builder
# WORKDIR './client'
Expand Down

0 comments on commit 87e0686

Please sign in to comment.