Spaces:
Sleeping
Sleeping
lint: # Lints our code. | |
python -m pylint ./ | |
black: # Formats our code. | |
python -m black ./ | |
refactor: # Refactor our code. | |
black lint | |
test: # Runs tests. | |
python -m pytest tests | |
# Set the image name | |
IMAGE_NAME := iris-classification-lambda | |
TAG := latest | |
# Targets | |
docker-build: | |
docker build -t $(IMAGE_NAME):$(TAG) . | |
docker-run: | |
docker run -it --rm $(IMAGE_NAME):$(TAG) | |