Fix Docker COPY paths to use absolute destination directories

This commit is contained in:
2025-05-18 13:08:11 +03:30
parent 36aa4589f3
commit 60a55e3ad8

View File

@@ -10,8 +10,8 @@ WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY cmd/ ./
COPY internal ./
COPY cmd /app/cmd/
COPY internal /app/internal/
RUN CGO_ENABLED=0 GOOS=linux go build -o /CatsOfMastodonGo ./cmd/CatsOfMastodonBotGo/main.go