FROM python:3.11 | |
# RUN git clone https://github.com/BlackNum/reka.git /app | |
ENV PIP_ROOT_USER_ACTION=ignore TZ=Asia/Shanghai | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
WORKDIR /app | |
COPY . . | |
RUN pip install --no-cache-dir --upgrade pip && \ | |
pip install --no-cache-dir -r requirements.txt | |
EXPOSE 7860 | |
CMD ["python", "app.py"] |