From 77d6fde16ea87a97c93f4adc06209b0bb9637c1b Mon Sep 17 00:00:00 2001 From: gsd Date: Tue, 28 Feb 2023 21:40:15 +0300 Subject: [PATCH] remote build a2s backend --- ext/python-a2s-rcon-api/git/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ext/python-a2s-rcon-api/git/Dockerfile diff --git a/ext/python-a2s-rcon-api/git/Dockerfile b/ext/python-a2s-rcon-api/git/Dockerfile new file mode 100644 index 0000000..60f56ce --- /dev/null +++ b/ext/python-a2s-rcon-api/git/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.10 +RUN python -m pip install git+https://github.com/Yepoleb/python-a2s git+https://github.com/conqp/rcon git+https://github.com/tiangolo/fastapi "uvicorn[standard]" git+https://github.com/ValvePython/steam && mkdir /app +RUN cd /tmp && 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"] \ No newline at end of file