tildewatch/Containerfile

13 lines
253 B
Plaintext
Raw Normal View History

2024-06-26 23:10:21 -04:00
FROM golang:1.21 as builder
2023-07-24 21:54:56 -04:00
WORKDIR /go/src/app
COPY . .
RUN apt update && apt upgrade -y
RUN CGO_ENABLED=0 go build
FROM alpine:latest as final
WORKDIR /app
2024-06-26 23:10:21 -04:00
RUN mkdir -p /lib64
2023-07-24 21:54:56 -04:00
COPY --from=builder /go/src/app/tildewatch /app/
CMD ["/app/tildewatch"]