cloudflare-ddns/Dockerfile
James Tombleson 55043c481e
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
image will now boot
2023-06-18 13:34:10 -07:00

14 lines
215 B
Docker

FROM golang:1.19 as build
COPY . /app
WORKDIR /app
RUN go build .
FROM alpine:latest as app
RUN apk --no-cache add bash libc6-compat && \
mkdir /app
COPY --from=build /app/ddns /usr/bin/ddns
CMD [ "ddns" ]