File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,8 +27,13 @@ RUN apt install git-lfs && git lfs install && apt clean && rm -rf /var/lib/apt/l
2727COPY . .
2828
2929ENV PIP_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/
30+ ENV UV_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/
31+ ENV UV_EXTRA_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/
32+
3033# Install deps
31- RUN pip install --no-cache-dir --use-deprecated=legacy-resolver -r docker/dataflow_requirements.txt
34+ # RUN pip install --no-cache-dir --use-deprecated=legacy-resolver -r docker/dataflow_requirements.txt
35+ RUN pip install --no-cache-dir -r docker/dataflow_requirements.txt
36+
3237# compile code
3338# RUN python -m compileall .
3439# RUN find ./ -name "*.py" -delete
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ This project inherits the [Apache License 2.0](LICENSE) from Data Juicer.
3232
3333```
3434docker build -t dataflow . -f Dockerfile
35+
36+ docker buildx build --provenance false --platform linux/amd64 -t dataflow . -f Dockerfile
37+
38+ docker buildx build --provenance false --platform linux/arm64 -t dataflow . -f Dockerfile
3539```
3640
3741## Prerequisites
You can’t perform that action at this time.
0 commit comments