20 lines
358 B
Docker
20 lines
358 B
Docker
FROM acraiflowlab.azurecr.io/python:3.12-bullseye
|
|
|
|
RUN echo “Asia/Shanghai” > /etc/timezone
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt /app/
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
|
|
|
|
COPY ./*.py /app
|
|
|
|
|
|
# RUN rm -f /app/env.yaml
|
|
# RUN rm -f /app/config.yaml
|
|
|
|
|
|
ENTRYPOINT ["python", "main.py"]
|
|
|