debug: force fail to see files
This commit is contained in:
parent
dd165f4356
commit
1177c5fce0
1 changed files with 1 additions and 9 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -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\]
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue