virufy / study

4 stars 2 forks source link

Adding files to create a docker develoment container #129

Open JonathanKoerber opened 11 months ago

JonathanKoerber commented 11 months ago

Feat: Add Dockerfile, Docker Compose configuration, Docker ignore file,

This commit introduces Docker support to facilitate a consistent and isolated development environment for the React app. Docker allows developers to set up and run the application seamlessly across different machines and environments.

Changes:

Updated .dockerignore file to exclude:

To run the app with Docker Compose:

  1. Ensure Docker is installed on your machine and is running.
  2. Run the following command in the project directory:

Start container docker-compose -f docker-compose.yml up --build This will build the Docker image and start the React app, accessible at http://localhost:3000.