tildewatch/Containerfile

13 lines
254 B
Plaintext
Raw Normal View History

2023-07-24 21:54:56 -04:00
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"]