mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-11-10 17:47:13 +08:00
11 lines
No EOL
376 B
Docker
11 lines
No EOL
376 B
Docker
FROM hotio/base:alpine
|
|
|
|
RUN apk add --no-cache py3-pip
|
|
COPY --chown=hotio:users requirements.txt /
|
|
RUN echo "**** install python packages ****" \
|
|
&& 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"] |