FROM python:3.7.2-slim

COPY ./service/requirements.txt requirements.txt

USER 0

RUN pip install --no-cache-dir -r requirements.txt --no-warn-script-location

COPY ./service/entrypoint.sh /app/entrypoint.sh

USER 65534

ENV APP_OPTS ""

ENTRYPOINT ["/app/entrypoint.sh"]
