File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 5353 tags : ${{ steps.base.outputs.tags }}
5454 cache-from : type=registry,ref=${{ steps.login-ecr.outputs.registry }}/dev/ndif_base:cache
5555 cache-to : type=registry,ref=${{ steps.login-ecr.outputs.registry }}/dev/ndif_base:cache,mode=max
56-
56+
5757 - name : Tag the API image
5858 id : api
5959 uses : docker/metadata-action@v5
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ RUN apt-get update -y \
1111
1212# Copy and install base requirements
1313COPY src/services/base/requirements.in /tmp/requirements.in
14+ RUN uv pip install --system torch --index-url https://download.pytorch.org/whl/cpu
1415RUN uv pip install --system -r /tmp/requirements.in \
1516 && find /usr/local/lib/python3.12 -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true \
1617 && find /usr/local/lib/python3.12 -name "*.pyc" -delete \
You can’t perform that action at this time.
0 commit comments