dockerfiles/zfile/Dockerfile

16 lines
417 B
Docker
Raw Normal View History

2021-06-11 12:13:08 +08:00
FROM stilleshan/alpine-openjdk-8-headless:2021-06-11
2022-02-01 22:01:09 +08:00
LABEL maintainer="Stille <stille@ioiox.com>"
2021-06-11 12:13:08 +08:00
2021-09-19 16:55:12 +08:00
ENV VERSION 3.2
2021-06-11 12:13:08 +08:00
WORKDIR /root
RUN wget https://github.com/zhaojun1998/zfile/releases/download/${VERSION}/zfile-${VERSION}.war \
&& mkdir zfile && unzip zfile-${VERSION}.war -d zfile && rm -rf zfile-${VERSION}.war \
&& chmod +x ~/zfile/bin/*.sh
EXPOSE 8080
CMD sh ./zfile/bin/start.sh && tail -f /dev/null