Dockerfile 165 B

12345678
  1. FROM python:3.9
  2. WORKDIR /usr/src/app
  3. COPY requirements.txt .
  4. RUN pip install -r requirements.txt
  5. COPY . .
  6. VOLUME [ "/usr/src/app/files" ]
  7. CMD ["python3", "main.py"]