osrsscrape/Dockerfile

19 lines
343 B
Docker
Raw Permalink Normal View History

2021-06-23 20:20:25 -07:00
FROM ubuntu:focal
RUN apt-get update && \
2023-07-20 00:23:45 -07:00
DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip && \
rm -rf /var/lib/apt/lists/*
2021-06-23 20:20:25 -07:00
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
2023-07-20 00:23:45 -07:00
ADD . /tmp/code/
2021-06-23 20:20:25 -07:00
2023-07-20 00:23:45 -07:00
RUN cd /tmp/code && \
python3 setup.py install
2021-06-23 20:20:25 -07:00
2023-07-20 00:23:45 -07:00
USER nobody
ENTRYPOINT ["osrsscrape"]