Dockerfile 164 B

123456
  1. FROM python:3-slim
  2. WORKDIR /usr/src/app
  3. COPY requirements.txt ./
  4. RUN pip install --no-cache-dir -r requirements.txt
  5. COPY pyapi.py .
  6. CMD [ "python", "./pyapi.py" ]