FROM python:3.10
RUN pip install pipenv
COPY Pipfile* /tmp/
RUN cd /tmp && pipenv install --dev --system --deploy
COPY main.py .
CMD ["python3", "main.py"]