huami-token/Dockerfile

9 wiersze
205 B
Docker

FROM python:slim
RUN useradd -U -m -d /app freedom
USER freedom
WORKDIR /app
ADD --chown=freedom:freedom . .
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "/app/huami_token.py"]
CMD ["--help"]