Create Dockerfile

This commit is contained in:
Stille 2020-02-04 18:50:07 +08:00
parent c31a4c197c
commit 7d49bf8eae
1 changed files with 16 additions and 0 deletions

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM alpine:3.8
MAINTAINER Stille <stille@ioiox.com>
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