Skip to content

feat: add Dockerfile for devops-0001/front-end2#5

Open
gouravjshah wants to merge 1 commit intomasterfrom
feat/dockerfile-single-b41ed1ad-c9d4-4ce8-83e1-cea96bc5dad1
Open

feat: add Dockerfile for devops-0001/front-end2#5
gouravjshah wants to merge 1 commit intomasterfrom
feat/dockerfile-single-b41ed1ad-c9d4-4ce8-83e1-cea96bc5dad1

Conversation

@gouravjshah
Copy link

This PR adds a production-ready Dockerfile for containerizing the Node.js Express front-end.

Stack: Node.js 18 (alpine)
Start command: node server.js (npm start)
Port: 8079 (exposed)

Build & run:

  • docker build -t devops-frontend:latest .
  • docker run -e PORT=8079 -p 8079:8079 devops-frontend:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant