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.

20 lines
282 B

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