# set base image (host OS)
FROM python:3.8

# set the working directory in the container
WORKDIR /code

# copy the content of the local src directory to the working directory
COPY ./ ./

# Install pipenv
RUN pip install pipenv

# Setup pipenv
RUN pipenv install

# container start with tracker.py
CMD [ "pipenv", "run", "./tracker.py" ]