Skip to content

Commit 24b93bc

Browse files
committed
Update dockerfile
1 parent 6ddcabb commit 24b93bc

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
!/Dockerfile
33
!/pyproject.toml
44
!/uv.lock
5-
!/src

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,3 @@ RUN --mount=type=cache,target=/root/.cache/uv \
4040
--mount=type=bind,source=uv.lock,target=uv.lock \
4141
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
4242
uv sync --frozen --no-install-project --no-dev
43-
ADD . /srv/repo
44-
RUN --mount=type=cache,target=/root/.cache/uv \
45-
uv sync --frozen --no-dev

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ url = "https://download.pytorch.org/whl/cu124"
4242
explicit = true
4343

4444
[tool.pytest.ini_options]
45-
pythonpath = ["."]
45+
pythonpath = [".", "src"]
4646

4747
[tool.mypy]
4848
explicit_package_bases = true

0 commit comments

Comments
 (0)