19 lines
342 B
Docker
19 lines
342 B
Docker
FROM debian:stretch-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get -y install \
|
|
ca-certificates \
|
|
curl \
|
|
python3 \
|
|
python3-apt \
|
|
python3-pip \
|
|
python3-urllib3 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt /tmp/requirements.txt
|
|
|
|
RUN pip3 install -r /tmp/requirements.txt
|
|
|
|
ADD . /code
|
|
|
|
RUN (cd /code && python3 setup.py install)
|