Skip to content

Commit

Permalink
fix: Add cache mount back in
Browse files Browse the repository at this point in the history
  • Loading branch information
RamiAwar committed Jan 23, 2025
1 parent 5f0029d commit e27b9ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ RUN mkdir -p /home/dataline/backend
# Cache ID follows railway structure
# https://docs.railway.com/guides/dockerfiles#cache-mounts
RUN --mount=from=ghcr.io/astral-sh/uv,source=/uv,target=/bin/uv \
--mount=type=cache,id=s/${SERVICE_ID}-root/.cache/uv,target=/root/.cache/uv \
--mount=type=bind,source=backend/uv.lock,target=uv.lock \
--mount=type=bind,source=backend/pyproject.toml,target=pyproject.toml \
uv sync --no-dev --frozen --no-install-project
Expand Down

0 comments on commit e27b9ac

Please sign in to comment.