14 lines
225 B
Docker
14 lines
225 B
Docker
FROM docker.io/python:3.12.5
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install -r requirements.txt --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["python", "-m"]
|