FROM python:3 #WORKDIR /usr/src #RUN git clone https://git.rudefox.io/bj/torch-subscriber-simple.git ADD torch-subscriber-simple /usr/src/torch-sub WORKDIR /usr/src/torch-sub RUN pip3 install --no-cache-dir -r requirements.txt && \ python3 setup.py install WORKDIR /data EXPOSE 8080 VOLUME [ "/etc/torch", "/data" ] ENTRYPOINT [ "torch-sub" ] CMD [ "--config-dir", "/etc/torch" ]