fix dockerfile error

This commit is contained in:
Jay 2019-05-03 22:05:47 +08:00
parent 729fbc45a2
commit 5a987f98f4

View File

@ -7,7 +7,7 @@ RUN apk add --no-cache make git ca-certificates \
FROM alpine:latest FROM alpine:latest
RUN apk add --no-cache ca-certificates RUN apk add --no-cache ca-certificates
WORKDIR /data WORKDIR /data
COPY --from=stage /data/ddns-svc /usr/bin COPY --from=builder /data/ddns-svc /usr/bin
COPY config.default.yml config.yml COPY config.default.yml config.yml
EXPOSE 10230 EXPOSE 10230
CMD ["/usr/bin/ddns-svc", "-f", "/data/config.yml"] CMD ["/usr/bin/ddns-svc", "-f", "/data/config.yml"]