Browse Source

remote build a2s backend

master
gsd 2 years ago
parent
commit
77d6fde16e
  1. 7
      ext/python-a2s-rcon-api/git/Dockerfile

7
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"]
Loading…
Cancel
Save