FROM python:3.10 | |
ENV PIP_ROOT_USER_ACTION=ignore \ | |
TZ=Asia/Shanghai | |
WORKDIR /app | |
COPY . . | |
RUN pip install --no-cache-dir --upgrade pip && \ | |
pip install --no-cache-dir -r requirements.txt | |
CMD ["python", "m3_server.py"] | |
FROM python:3.10 | |
ENV PIP_ROOT_USER_ACTION=ignore \ | |
TZ=Asia/Shanghai | |
WORKDIR /app | |
COPY . . | |
RUN pip install --no-cache-dir --upgrade pip && \ | |
pip install --no-cache-dir -r requirements.txt | |
CMD ["python", "m3_server.py"] | |