Skip to content

Instantly share code, notes, and snippets.

@twyle
Last active May 29, 2022 07:58
Show Gist options
  • Save twyle/93dd667e6b96686cbfa9604407efdded to your computer and use it in GitHub Desktop.
Save twyle/93dd667e6b96686cbfa9604407efdded to your computer and use it in GitHub Desktop.
update-pip:
@pip install --upgrade pip
install: update-pip requirements.txt
@pip install -r requirements.txt
install-dev: requirements-dev.txt
@pip install -r requirements-dev.txt
run-locally:
@INPUT_CODEDIRECTORY=src INPUT_TESTDIRECTORY=tests python3 main.py
build:
@sudo docker build -t twyle/oryks-code-coverage:latest .
run:
@sudo docker run --env INPUT_CODEDIRECTORY=src/ --env INPUT_TESTDIRECTORY=tests/ ${imageid}
images:
@sudo docker images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment