Skip to content

Commit

Permalink
feat: change pip source of difylocal
Browse files Browse the repository at this point in the history
  • Loading branch information
WGrape committed Apr 8, 2024
1 parent 63bbb5c commit e447669
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions difylocal/make_app_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ ARG FROM_PLATFORM
ARG IMAGE_BASIC_DIFYLOCAL_VERSION
FROM --platform=${FROM_PLATFORM} sparrow-basic-difylocal:${IMAGE_BASIC_DIFYLOCAL_VERSION} AS builder

# change pip source
RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/

# RUN sed -i 's#https://deb.nodesource.com/node_12.x/#https://mirrors.tuna.tsinghua.edu.cn/nodesource/deb_12.x/#' /etc/apt/sources.list.d/nodesource.list

# RUN apt-get update && apt-get install nodejs=18.19.0 && node -v
Expand Down

0 comments on commit e447669

Please sign in to comment.