docker-compose down -v && docker-compose up --build
docker-compose down -v && docker-compose -f docker-compose.prod.yml up
docker build -t bare-example .
docker run -p 8001:4000 bare-example
docker-compose logs
docker images | grep bare-example
docker rm $(docker ps -a -q) -f D
docker rmi $(docker images -a -q)
docker volume prune
docker exec -it serverdb_1 psql -U _username_here bare-example
docker run -it bare-example-multi-stage sh docker run -it bare-example-multi-stage sh
Changing localhost to host.docker.internal to access postgres inside a docker container
Downgrade to postgres 11 because there's problem with postgres 12 with typeorm and I can't pinfuckingpoint the issue
Downgrade to react-scripts 3.4.0 to work with Docker
Nodemon has this issue on docker https://github.com/remy/nodemon#application-isnt-restarting
npx tsconfig.json
yarn upgrade-interactive --latest