You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
282 B

FROM python:3
ENV PYTHONUNBUFFERED=1
WORKDIR /tmp/setup
COPY . .
RUN python3 setup.py sdist bdist_wheel
RUN python3 -m pip install --no-cache-dir dist/*.whl
WORKDIR /app
RUN rm -rf /tmp/setup
HEALTHCHECK CMD ["smart_tv_telegram", "--healthcheck"]
CMD ["smart_tv_telegram"]