FROM ubuntu:18.04
LABEL maintainer="<NAME> <<EMAIL>>"

WORKDIR /

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
    apt-get install --no-install-recommends -y python3-pip \
    python3-setuptools \
    python3-wheel \
    git

## INJECT_PATCH_INSTRUCTION ##
RUN git clone https://github.com/jgruberf5/salesinvites.git

RUN pip3 install Flask requests

ENV API_KEY ''

ENTRYPOINT [ "/salesinvites/server.py" ]