Tweaked makefiles/docker files

This commit is contained in:
2023-09-29 11:12:57 -04:00
parent 2ba9d93bfd
commit 0b25745895
6 changed files with 30 additions and 19 deletions

View File

@@ -9,18 +9,18 @@ help: ## This info
@cat Makefile | grep -E '^[a-zA-Z\/_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@echo
install: ## Install the dependencies
npm install
build: ## Install the dependencies and build
npm run build
docker compose build
start: ## Start the dev instance
npm install
npm run dev
up: ## Start the dev instance
docker compose up -d
down: ## Stop the dev instance
docker compose down
lint: ## Run the linter
npm run lint
clean: ## Remove node modules
rm -rf node_modules
docker compose down && \
docker image rm weather-ui