debug: force fail to see files

This commit is contained in:
GoHorse Deploy 2026-02-05 13:03:20 +00:00
parent dd165f4356
commit 1177c5fce0

View file

@ -1,13 +1,5 @@
FROM mirror.gcr.io/library/golang:1.23-alpine AS builder FROM mirror.gcr.io/library/golang:1.23-alpine AS builder
WORKDIR /app WORKDIR /app
COPY backend/ . COPY backend/ .
RUN ls -la RUN echo '--- FILE LISTING ---' && ls -R && echo '--- END LISTING ---' && exit 1
RUN go mod download RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags=" -s -w\ -o main .
FROM alpine:latest
WORKDIR /app
RUN apk --no-cache add ca-certificates tzdata
COPY --from=builder /app/main .
COPY --from=builder /app/migrations ./migrations
CMD [\.\/main\]