1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

move Dockerfile

This commit is contained in:
Timothy
2017-10-30 15:04:10 +08:00
parent ebb174f604
commit eef6c9c1aa

9
cmd/godns/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM timothyye/alpine:3.6-glibc
MAINTAINER Timothy
RUN apk add --update ca-certificates
RUN mkdir -p /usr/local/godns
COPY godns /usr/local/godns
RUN chmod +x /usr/local/godns/godns
RUN rm -rf /var/cache/apk/*
WORKDIR /usr/local/godns
ENTRYPOINT ["./godns", "-c", "/usr/local/godns/config.json"]