999
This commit is contained in:
parent
d99a92b6dc
commit
04d70ace99
@ -7,7 +7,8 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
|||||||
PIP_INDEX_URL=https://mirrors.cloud.tencent.com/pypi/simple \
|
PIP_INDEX_URL=https://mirrors.cloud.tencent.com/pypi/simple \
|
||||||
PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
||||||
AUTO_IMPORT_ON_START=1
|
AUTO_IMPORT_ON_START=1
|
||||||
RUN apk add --no-cache tzdata && \
|
RUN sed -i -e 's/dl-cdn.alpinelinux.org/mirrors.cloud.tencent.com/g' /etc/apk/repositories && \
|
||||||
|
apk update && apk add --no-cache tzdata && \
|
||||||
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone
|
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone
|
||||||
COPY backend/requirements.txt .
|
COPY backend/requirements.txt .
|
||||||
RUN python -m pip install --no-cache-dir --upgrade pip -i $PIP_INDEX_URL && \
|
RUN python -m pip install --no-cache-dir --upgrade pip -i $PIP_INDEX_URL && \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user