瀏覽代碼

调整docker

develop
H Vs 1 天之前
父節點
當前提交
5d11ee7f82
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. +6
    -6
      docker/Dockerfile.latest

+ 6
- 6
docker/Dockerfile.latest 查看文件

@@ -23,12 +23,12 @@ ENV BUILD_PREFIX=/app

ADD . ${BUILD_PREFIX}

RUN apt-get update \
&&apt-get install -y --no-install-recommends bash ffmpeg espeak libavcodec-extra\
&& cd ${BUILD_PREFIX} \
&& cp config-template.json config.json \
&& /usr/local/bin/python -m pip install --no-cache --upgrade pip \
&& pip install --no-cache -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
# RUN apt-get update \
# &&apt-get install -y --no-install-recommends bash ffmpeg espeak libavcodec-extra\
# && cd ${BUILD_PREFIX} \
# && cp config-template.json config.json \
# && /usr/local/bin/python -m pip install --no-cache --upgrade pip \
# && pip install --no-cache -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
WORKDIR ${BUILD_PREFIX}



Loading…
取消
儲存