Parcourir la source

调整

develop
H Vs il y a 17 heures
Parent
révision
68c4952038
1 fichiers modifiés avec 4 ajouts et 10 suppressions
  1. +4
    -10
      docker/Dockerfile.latest

+ 4
- 10
docker/Dockerfile.latest Voir le fichier

@@ -4,8 +4,8 @@ LABEL maintainer="foo@bar.com"
ARG TZ='Asia/Shanghai'

# RUN echo /etc/apt/sources.list
RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
#RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list
#RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list


# Set the timezone and configure tzdata
@@ -28,14 +28,8 @@ 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 install -y --no-install-recommends bash ffmpeg espeak libavcodec-extra\
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 \


Chargement…
Annuler
Enregistrer