-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19597ae
commit a6567f6
Showing
2 changed files
with
23 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,15 @@ | ||
.PHONY: lint | ||
lint: | ||
npm run "lint" | ||
npm run "lint-ts" | ||
.PHONY: dev-up | ||
dev-up: | ||
docker compose --profile dev up --build | ||
|
||
.PHONY: dev-down | ||
dev-down: | ||
docker compose --profile dev down | ||
|
||
.PHONY: lint-strict | ||
lint-strict: | ||
npm run "lint-strict" | ||
|
||
.PHONY: run | ||
run: | ||
npm run start | ||
|
||
.PHONY: build-dist run-dist run-dist-rebuilt | ||
|
||
build-dist: | ||
npm run build | ||
|
||
run-dist: | ||
npm run serve | ||
|
||
run-dist-rebuilt: build-dist run-dist | ||
|
||
.PHONY: run-docker-dev | ||
run-docker-dev: | ||
docker compose -f docker-compose.yml up | ||
|
||
.PHONY: build-docker | ||
build-docker: | ||
docker build . -t public-site | ||
|
||
.PHONY: run-docker | ||
run-docker: | ||
docker run -it -p 8080:8080 public-site | ||
|
||
.PHONY: run-docker-rebuilt | ||
run-docker-rebuilt: build-docker run-docker | ||
|
||
.PHONY: down | ||
down: | ||
docker compose down | ||
.PHONY: prod-up | ||
prod-up: | ||
docker compose --profile prod up --build | ||
|
||
.PHONY: prod-down | ||
prod-down: | ||
docker compose --profile prod down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters