ozon-task/Makefile

19 lines
526 B
Makefile
Raw Permalink Normal View History

2024-06-24 23:34:10 +00:00
docker-postgres: docker
docker compose -f deployments/docker-compose/postgres/docker-compose.yml up
docker-standalone: docker
docker compose -f deployments/docker-compose/standalone/docker-compose.yml up
docker: go-generate Dockerfile
docker build --tag ozon-task .
go-generate:
go generate ./...
clean: docker-clean
docker-clean:
-docker container rm postgres-ozon-task-1 postgres-postgres-1 standalone-ozon-task-1;\
docker volume rm postgres_postgres-data;\
docker network rm postgres_default standalone_defaul\