DayInReview / day-in-review

Full Day In Review application
http://dayinreview.org
Apache License 2.0
2 stars 0 forks source link

Docker Bugfix #30

Closed JimothyGreene closed 3 years ago

JimothyGreene commented 3 years ago

Problem

When setting up on a fresh machine or a machine where the node_modules aren't installed locally, the React Client wasn't properly installing the node_modules in the Docker container, so the container would crash.

Solution

Fix the volumes parameter in the docker-compose.yml file for the Client that had an incorrect filepath.

Testing

This was tested by cleaning the folder of all node_modules and spinning up the containers to make sure the site still loaded.

Notes

Now, we don't need to have any node_modules installed locally.