mqtt-to-opentsdb/Dockerfile

10 lines
159 B
Docker
Raw Normal View History

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"]