base.Dockerfile 332 B

1234567891011121314151617
  1. FROM python:3.7.7-slim-buster
  2. WORKDIR /app
  3. COPY requirements.txt requirements.txt
  4. COPY Makefile Makefile
  5. COPY protos protos
  6. RUN apt-get update \
  7. && apt-get install make \
  8. && rm -rf /var/lib/apt/lists/*
  9. RUN pip install --upgrade pip \
  10. && pip install -r requirements.txt \
  11. && rm -rf ~/.cache/pip
  12. RUN make protobuf