Skip to content

Commit a7d5a8c

Browse files
committed
fix(deps): 🗃️ docker build - failed to solve failed to compute cache key
1 parent a33b929 commit a7d5a8c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ fmt:
3131
go fmt ./internal/...; \
3232
go fmt ./cmd/...;
3333

34+
docker-compose-up-build:
35+
docker compose -f build/docker-compose.yml -f build/docker-compose.stage.yml up --build
36+
3437
# Run PostgreSQL container for local development
3538
database-run:
3639
@if [ $$(docker ps -a -q -f name=ctf01d-postgres) ]; then \

build/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ services:
1313
- ctf01d_net
1414

1515
ctf01d_backend:
16-
build: .
16+
build: ../
17+
dockerfile: ./Dockerfile
1718
depends_on:
1819
- ctf_training_platform_db
1920
ports:

0 commit comments

Comments
 (0)