123456789101112131415161718 |
- FROM python:3.10
- WORKDIR /barin
- ARG HTTP_PROXY
- COPY src/ ./
- COPY requirements.txt ./
- RUN if [ ! -z "$HTTP_PROXY" ]; then \
- NEED_PROXY="--proxy $HTTP_PROXY"; \
- fi; \
- pip3 install --no-cache-dir -r requirements.txt $NEED_PROXY
- RUN (cd 3rdparty/pyTelegramBotAPI && python3 setup.py install)
- RUN (cd 3rdparty/outline-vpn-api && python3 setup.py install)
- #CMD [ "python3", "barin.py" ]
- CMD [ "bash" ]
|