您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213
  1. FROM python:3.11-slim
  2. WORKDIR /app
  3. COPY ./requirements.txt .
  4. RUN pip install --no-cache-dir -r requirements.txt
  5. ENV PYTHONPATH "${PYTHONPATH}:/app/"
  6. COPY . .
  7. EXPOSE 5000
  8. CMD [ "flask", "run", "--host=0.0.0.0", "--port=5000"]