|
|
@ -9,8 +9,10 @@ prod: |
|
|
|
dev: |
|
|
|
sudo NODE_ENV="development" docker compose -f docker-compose.yml up --build |
|
|
|
|
|
|
|
lint: |
|
|
|
sudo NODE_ENV="beautify" docker compose -f docker-compose.yml up --build |
|
|
|
check: |
|
|
|
sudo NODE_ENV="check" docker compose -f docker-compose.yml run back --build |
|
|
|
sudo NODE_ENV="check" docker compose -f docker-compose.yml run front --build |
|
|
|
sudo docker compose -f docker-compose.yml down |
|
|
|
|
|
|
|
debug: |
|
|
|
sudo NODE_ENV="debug" BUILDKIT_PROGRESS=plain docker compose -f docker-compose.yml up --build |
|
|
@ -26,3 +28,5 @@ fclean: stop |
|
|
|
sudo docker system prune -af --volumes |
|
|
|
|
|
|
|
re: fclean dev |
|
|
|
|
|
|
|
.PHONY: all prod dev check debug stop clean fclean re |
|
|
|