diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..88b9dda --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM alpine:3.8 +MAINTAINER Stille + +ENV VERSION v0.2.6 + +WORKDIR /base +RUN apk add wget && \ + wget -P /base https://github.com/tindy2013/subconverter/releases/download/${VERSION}/subconverter_linux64.tar.gz && \ + tar xzf subconverter_linux64.tar.gz && \ + rm -rf subconverter_linux64.tar.gz && \ + apk del wget +COPY pref.ini /base + +EXPOSE 25500 + +CMD /base/subconverter \ No newline at end of file