ozon-task/Makefile
2024-06-25 02:34:10 +03:00

16 lines
445 B
Makefile

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 && docker volume rm postgres_postgres-data