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

refactor run with docker logic

This commit is contained in:
Timothy
2017-09-15 16:06:55 +08:00
parent ef3faafca7
commit c302352cc9
2 changed files with 7 additions and 27 deletions

View File

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