13 lines
254 B
Plaintext
13 lines
254 B
Plaintext
|
FROM golang:1.20 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"]
|