cloudflare-ddns/Dockerfile

11 lines
148 B
Docker
Raw Normal View History

2023-05-28 15:38:52 -07:00
FROM golang:1.20 as build
2022-08-17 09:58:45 -07:00
COPY . /app
WORKDIR /app
RUN go build .
2023-05-28 15:38:52 -07:00
FROM debian:latest as app
2022-08-17 09:58:45 -07:00
COPY --from=build /app/ddns /app
CMD [ "/app/ddns" ]