Closed fnmunhoz closed 3 years ago
Small improvements to make the build faster and easy to reproduce a production-like environment locally.
To run a production-like environment locally:
cd street-comics-api docker build -t street-comics-api-production -f Dockerfile.production . docker run -e RAILS_MASTER_KEY=<TO_REPLACE> -e PORT=8000 -p 8000:8000 street-comics-api-production
These commands can be improved in the future by using docker-compose.
docker-compose
Small improvements to make the build faster and easy to reproduce a production-like environment locally.
To run a production-like environment locally:
These commands can be improved in the future by using
docker-compose
.