Dockerfile 259 B

1234567891011121314
  1. # syntax=docker/dockerfile:1
  2. FROM python:3-slim
  3. ENV PYTHONDONTWRITEBYTECODE=1
  4. ENV PYTHONUNBUFFERED=1
  5. WORKDIR /app
  6. COPY ./app/requirements.txt /app/requirements.txt
  7. RUN pip install -r requirements.txt
  8. COPY ./app/ /app/
  9. EXPOSE 102
  10. CMD ["python3", "main.py"]