.DEFAULT_GOAL := help SHELL := /bin/bash .PHONY: build build: ## Build the Docker image @poetry export --only main --output requirements.txt @docker build --tag ds-interview . .PHONY: data data: ## Create dataset @poetry run make-data .PHONY: help help: ## Show all available commands @awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-36s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST); .PHONY: install install: ## Install dependencies @poetry install --no-interaction .PHONY: run run: ## Run the Docker image @docker run --rm -it -p "8888:8888" ds-interview jupyter lab --collaborative --no-browser --allow-root --ip "0.0.0.0" --ServerApp.allow_remote_access true --config Xfrozen_modules=off