ai slop ah
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
FROM golang:1.24-alpine AS builder
|
||||
WORKDIR /src
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN go build -o /usr/bin/server ./cmd/server
|
||||
RUN go build -o /usr/bin/migrate ./cmd/migrate
|
||||
RUN go build -o /usr/bin/seed ./cmd/seed
|
||||
|
||||
FROM alpine:3.21
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=builder /usr/bin/server /usr/bin/migrate /usr/bin/seed /usr/bin/
|
||||
EXPOSE 8080
|
||||
CMD ["server"]
|
||||
Reference in New Issue
Block a user