feat: container are now auto deleted
This commit is contained in:
parent
4256feed23
commit
9a1d24f334
12
Makefile
12
Makefile
@ -1,13 +1,13 @@
|
|||||||
help:
|
help:
|
||||||
@echo "make [clean dev-front prod dev-back stop]"
|
@echo "make [clean dev-front prod dev-back]"
|
||||||
|
|
||||||
stop:
|
|
||||||
docker compose down
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@cp config/prod.docker-compose.yaml docker-compose.yaml
|
||||||
|
@docker compose down 2> /dev/null
|
||||||
|
@rm -f docker-compose.yaml
|
||||||
@rm -f .env
|
@rm -f .env
|
||||||
@rm -f front/MyINPulse-front/.env
|
@rm -f front/MyINPulse-front/.env
|
||||||
@rm -f docker-compose.yaml
|
|
||||||
|
|
||||||
# Install npm packages
|
# Install npm packages
|
||||||
front/MyINPulse-front/.installed:
|
front/MyINPulse-front/.installed:
|
||||||
@ -38,4 +38,4 @@ dev-back:
|
|||||||
@cp config/backdev.docker-compose.yaml docker-compose.yaml
|
@cp config/backdev.docker-compose.yaml docker-compose.yaml
|
||||||
@docker compose up -d
|
@docker compose up -d
|
||||||
@echo "cd MyINPulse-back"
|
@echo "cd MyINPulse-back"
|
||||||
@echo "./gradlew bootRun"
|
@echo "./gradlew bootRun --args='--server.port=8081'"
|
Loading…
x
Reference in New Issue
Block a user