Spaces:
Runtime error
Runtime error
| install: | |
| pip install --upgrade pip &&\ | |
| pip install -r requirements.txt | |
| format: | |
| black *.py logic/*py | |
| lint: | |
| pylint --disable=R,C test_logic.py | |
| test: | |
| python -m pytest -vv test_logic.py | |
| run: | |
| #run docker | |
| docker run -p 127.0.0.1:8080:8080 1896dd6bda62 | |
| # deploy: | |
| # #deploy | |
| # aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 561744971673.dkr.ecr.us-east-1.amazonaws.com | |
| # docker build -t fastapi-wiki . | |
| # docker tag fastapi-wiki:latest 561744971673.dkr.ecr.us-east-1.amazonaws.com/fastapi-wiki:latest | |
| # docker push 561744971673.dkr.ecr.us-east-1.amazonaws.com/fastapi-wiki:latest | |
| all: install lint test format #deploy |