Dockerfile 417 B

123456789101112131415161718192021222324252627
  1. FROM alpine
  2. LABEL \
  3. maintainer="Davide Alberani <da@erlug.linux.it>"
  4. EXPOSE 3210
  5. RUN \
  6. apk add --update \
  7. git \
  8. py3-lxml \
  9. py3-pip \
  10. py3-requests \
  11. py3-sqlalchemy \
  12. py3-tornado \
  13. && pip3 install apscheduler \
  14. && rm -rf /var/cache/apk/*
  15. VOLUME /diffido/conf /diffido/storage
  16. COPY diffido.py /diffido/
  17. COPY dist /diffido/dist/
  18. COPY ssl /diffido/ssl/
  19. WORKDIR /diffido/
  20. ENTRYPOINT ["./diffido.py"]