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

9 行
270B

  1. # syntax=docker/dockerfile:1
  2. FROM python:3.8-slim-buster
  3. RUN apt update && apt install -y apt-transport-https ca-certificates sqlite3
  4. WORKDIR /code
  5. COPY requirements.txt requirements.txt
  6. RUN pip install -r requirements.txt
  7. COPY . .
  8. CMD ["python3", "-m", "flask", "run"]