tildewatch/Containerfile
Steve 73a964ea7a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update go version
2024-06-26 23:10:30 -04:00

13 lines
253 B
Docker

FROM golang:1.21 as builder
WORKDIR /go/src/app
COPY . .
RUN apt update && apt upgrade -y
RUN CGO_ENABLED=0 go build
FROM alpine:latest as final
WORKDIR /app
RUN mkdir -p /lib64
COPY --from=builder /go/src/app/tildewatch /app/
CMD ["/app/tildewatch"]