ozon-task/Makefile

17 lines
445 B
Makefile
Raw 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 && docker volume rm postgres_postgres-data