Skip to content

Commit 44eb76f

Browse files
authored
Merge pull request #37 from natifridman/uv-env
Configure UV to use the existing virtual environment in Containerfile
2 parents 0b90317 + e86a16e commit 44eb76f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ COPY README.md ./
1313
# Copy application files (needed for editable install)
1414
COPY ./src/ ./src/
1515

16+
# Configure UV to use the existing virtual environment
17+
ENV UV_PROJECT_ENVIRONMENT=/opt/app-root
18+
1619
# Install dependencies using UV
1720
RUN uv sync --no-dev --no-cache
1821
# Environment variables (set these when running the container)

0 commit comments

Comments
 (0)