modified: mulit staged dockerfile
This commit is contained in:
parent
8cbdbdaeec
commit
31b3bf3c22
|
|
@ -101,10 +101,12 @@ RUN pip3 install /tmp/rknn_wheels/*.whl && \
|
||||||
RUN chmod +x /usr/bin/rknn_server
|
RUN chmod +x /usr/bin/rknn_server
|
||||||
RUN ldconfig
|
RUN ldconfig
|
||||||
|
|
||||||
|
COPY config/ /app/config/
|
||||||
|
COPY edge-proxy/ /app/edge_proxy
|
||||||
|
|
||||||
COPY piper_models/ /app/piper_models/
|
COPY piper_models/ /app/piper_models/
|
||||||
|
|
||||||
USER dev
|
USER dev
|
||||||
RUN mkdir -p /app/config
|
|
||||||
RUN pip install --no-cache-dir --user -i https://mirrors.aliyun.com/pypi/simple/ \
|
RUN pip install --no-cache-dir --user -i https://mirrors.aliyun.com/pypi/simple/ \
|
||||||
piper-tts \
|
piper-tts \
|
||||||
onvif-zeep \
|
onvif-zeep \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue