docker build -f dev.dockerfile -t rep-manager .
docker run -p 3000:3000 -v $(pwd):/rails rep-manager
If there's any error running the container, you need to run the following command to allow docker to execute the entrypoint file:
chmod +x bin/docker-dev-entrypoint
Give permission for running the dev.sh
file
chmod +x dev.sh
Rebuild the image with the following command:
./dev.sh