Put .env
and .env.dev
file in the root directory
Build: docker build -t auth .
Run: docker run -p 80:80 auth
Access: http://localhost:80/docs
Build: docker build -f Dockerfile.dev -t dev-auth .
Run: docker run -p 80:80 dev-auth
Access: http://localhost:80/docs
virtualenv setup: https://www.youtube.com/watch?v=IAvAlS0CuxI
Install requirements: pip install -r requirements.txt
Run: python ./app/main.py
Access: http://localhost:8000/docs
https://www.youtube.com/watch?v=LaGYxQWYmmc
https://iq.opengenus.org/failed-to-solve-with-frontend-dockerfile-v0/