Skip to content

Instantly share code, notes, and snippets.

@twyle
Created June 1, 2022 06:24
Show Gist options
  • Save twyle/9baf9cd94c7f425fc7dc211bd736ffba to your computer and use it in GitHub Desktop.
Save twyle/9baf9cd94c7f425fc7dc211bd736ffba to your computer and use it in GitHub Desktop.
update:
@pip install --upgrade pip
install:
@pip install -r requirements.txt
install-dev: requirements-dev.txt
@pip install -r requirements-dev.txt
run:
@python main.py
test:
@python -m pytest
build:
@sudo docker build -t ${imagename}:latest .
run-docker:
@sudo docker run --env FLASK_ENV=development -p 5000:5000 ${imagename}:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment