qbit_manage/Dockerfile

11 lines
376 B
Docker
Raw Normal View History

2021-12-16 07:34:26 +08:00
FROM hotio/base:alpine
RUN apk add --no-cache py3-pip
COPY --chown=hotio:users requirements.txt /
2021-11-22 03:34:55 +08:00
RUN echo "**** install python packages ****" \
2021-12-16 07:34:26 +08:00
&& pip3 install --user --no-cache-dir --upgrade --requirement /requirements.txt \
&& rm -rf /requirements.txt /tmp/* /var/tmp/*
COPY --chown=hotio:users . "${APP_DIR}"
WORKDIR ${APP_DIR}
ENTRYPOINT ["python3", "qbit_manage.py"]