FROM python:3.10 RUN python -m pip config --user set global.index https://nexus.pblr-nyk.pro/repository/pypi-all/pypi && \ python -m pip config --user set global.index-url https://nexus.pblr-nyk.pro/repository/pypi-all/simple && \ python -m pip config --user set global.trusted-host nexus.pblr-nyk.pro RUN python -m pip install aiodocker aiohttp && mkdir /app ARG BUILDDATE ENV BUILDDATE $BUILDDATE RUN cd /tmp && echo $BUILDDATE && git clone https://git.pblr-nyk.pro/gsd/Facti13.Web.Backend.Java.V2 && cd ./Facti13.Web.Backend.Java.V2/ext/python-docker-client && cp *.* /app && rm -r /tmp/Facti13.Web.Backend.Java.V2 WORKDIR /app COPY ./ ./ ENV PYTHONUNBUFFERED 1 ENTRYPOINT ["python", "dockerclient.py"]