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 git+https://git.pblr-nyk.pro/mirror/Yepoleb.python-a2s git+https://git.pblr-nyk.pro/mirror/conqp.rcon git+https://git.pblr-nyk.pro/mirror/tiangolo.fastapi "uvicorn[standard]" git+https://git.pblr-nyk.pro/mirror/ValvePython.steam && 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-a2s-rcon-api && cp *.* /app && rm -r /tmp/Facti13.Web.Backend.Java.V2 WORKDIR /app ENV PYTHONUNBUFFERED 1 EXPOSE 8082 ENTRYPOINT ["python", "service.py"]