暫無描述

Dockerfile 298B

123456789101112131415161718
  1. # Dockerfile
  2. FROM python:3.9-slim
  3. # Set environment variables
  4. ENV PYTHONDONTWRITEBYTECODE 1
  5. ENV PYTHONUNBUFFERED 1
  6. # Set working directory
  7. WORKDIR /code
  8. # Install dependencies
  9. COPY requirements.txt /code/
  10. RUN pip install --no-cache-dir -r requirements.txt
  11. # Copy project
  12. COPY ./recycle /code/