Something went wrong. Try again.
fork of gh:maxwoffard/pic-to-patch
Something went wrong. Try again.
pic-to-patch Dockerfile.web
255 B · 13 lines
at main
1234567891011121314FROM golang:1.24-alpine AS build
WORKDIR /srcCOPY web/go.mod web/go.sum ./RUN go mod downloadCOPY web/*.go .COPY web/index.html .RUN CGO_ENABLED=0 go build -o /server .
FROM alpine:3.20COPY --from=build /server /serverEXPOSE 8000CMD ["/server"]