Skip to content

Feature Proposal : adding Docker support for running json-server#1746

Open
Omar-Tnt04 wants to merge 1 commit intotypicode:mainfrom
Omar-Tnt04:feature-add-docker-support
Open

Feature Proposal : adding Docker support for running json-server#1746
Omar-Tnt04 wants to merge 1 commit intotypicode:mainfrom
Omar-Tnt04:feature-add-docker-support

Conversation

@Omar-Tnt04
Copy link
Copy Markdown
Contributor

Summary

Add Docker support so json-server can be built and run without requiring a local Node.js setup.

What Changed

  • Added a Dockerfile
  • Added a .dockerignore
  • Added a README section explaining how to build and run the project with Docker

Why

This improves developer experience by making it easier to run the project in a consistent containerized environment.

It is also helpful for users on platforms where local build scripts may behave differently.

How to test

docker build -t json-server .
docker run --rm -p 3000:3000 json-server

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