mirror of
https://github.com/jeessy2/ddns-go.git
synced 2025-10-20 07:23:47 +08:00
* chore: snapshot.name_template `snapshot.name_template` should not be used anymore, check https://goreleaser.com/deprecations#snapshotname_template for more info * chore: Use goreleaser to build a docker image
12 lines
270 B
Docker
12 lines
270 B
Docker
FROM alpine
|
|
LABEL name=ddns-go
|
|
LABEL url=https://github.com/jeessy2/ddns-go
|
|
RUN apk add --no-cache curl grep
|
|
|
|
WORKDIR /app
|
|
COPY ddns-go /app/
|
|
COPY zoneinfo /usr/share/zoneinfo
|
|
ENV TZ=Asia/Shanghai
|
|
EXPOSE 9876
|
|
ENTRYPOINT ["/app/ddns-go"]
|
|
CMD ["-l", ":9876", "-f", "300"] |