Dockerfile 408 B

1234567891011121314
  1. FROM fedora:latest
  2. MAINTAINER Ryan Rix <ryan@whatthefuck.computer>
  3. COPY requirements.txt /requirements.txt
  4. RUN dnf update -y && dnf install -y python2 curl
  5. RUN pip install -r /requirements.txt
  6. RUN ln -sf /usr/share/zoneinfo/US/Pacific /etc/localtime
  7. RUN rm -rf /root/.cache /var/cache/dnf
  8. VOLUME ["/data"]
  9. COPY afdsew.py /afdsew.py
  10. WORKDIR "/data"
  11. ENTRYPOINT ["python", "/afdsew.py"]
  12. CMD ["--prefix=/data"]