swapnilsparsh / DevEmpire

All in one place where you can find all the resources and details of ambassador/ fellowship, open-source events, web dev sites, games and etc. that are available across different sites.
https://devempire.netlify.app
127 stars 131 forks source link

Docker file is added #336

Closed shraddha761 closed 1 year ago

shraddha761 commented 1 year ago

Description

the first stage uses a Node.js base image to build the application. It copies the project files, installs dependencies using npm ci, and builds the application using npm run build. The second stage uses a lightweight Nginx base image, nginx:alpine, and copies the built application from the previous stage into the Nginx's default HTML directory. It exposes port 80 and sets the command to start Nginx.

Fixes #331

Screenshots

Checklist

netlify[bot] commented 1 year ago

Deploy Preview for devempire ready!

Name Link
Latest commit f276a8e116c0a094fecb6430d794fd90b87f4f0d
Latest deploy log https://app.netlify.com/sites/devempire/deploys/64a440027ba3d300084839ed
Deploy Preview https://deploy-preview-336--devempire.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

shraddha761 commented 1 year ago

@swapnilsparsh please review