| FROM python:3.11-alpine | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN apk update && apk add --no-cache git gcc musl-dev libffi-dev | |
| RUN git clone https://github.com/ReirLair/infox.git . | |
| RUN pip install --upgrade pip && \ | |
| pip install httpx flask flask-cors cachetools protobuf pycryptodome asgiref | |
| RUN chmod -R 777 /app | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |