lite-release.Dockerfile 608 B

123456789101112131415161718192021222324
  1. FROM alpine
  2. ENV TZ=Asia/Shanghai \
  3. PERMS=true \
  4. PUID=1026 \
  5. PGID=100 \
  6. UMASK=022 \
  7. PS1="\u@\h:\w \$ "
  8. ARG TARGETARCH
  9. RUN apk add --no-cache \
  10. bash \
  11. ffmpeg \
  12. ca-certificates \
  13. tini \
  14. su-exec \
  15. tzdata \
  16. && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
  17. && echo "${TZ}" > /etc/timezone \
  18. && rm -rf /tmp/* /var/cache/apk/*
  19. COPY go/out/${TARGETARCH}/chinesesubfinder /usr/bin/chinesesubfinder
  20. COPY lite-entrypoint.sh /usr/bin/entrypoint.sh
  21. VOLUME ["/config", "/media"]
  22. WORKDIR /config
  23. EXPOSE 19035
  24. ENTRYPOINT ["tini", "entrypoint.sh"]