File size: 392 Bytes
cc5d7b8
 
 
 
 
 
 
1918801
 
ecb6ee8
cc5d7b8
1918801
 
cc5d7b8
 
 
 
 
1918801
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]