14 lines
419 B
Docker
14 lines
419 B
Docker
FROM fedora:latest
|
|
MAINTAINER Ryan Rix <ryan@whatthefuck.computer>
|
|
|
|
COPY requirements.txt /requirements.txt
|
|
RUN dnf update -y && dnf install -y python python3-pip curl
|
|
RUN pip install -r /requirements.txt
|
|
RUN ln -sf /usr/share/zoneinfo/US/Pacific /etc/localtime
|
|
RUN rm -rf /root/.cache /var/cache/dnf
|
|
VOLUME ["/data"]
|
|
COPY afdsew.py /afdsew.py
|
|
WORKDIR "/data"
|
|
ENTRYPOINT ["python", "/afdsew.py"]
|
|
CMD ["--prefix=/data"]
|