Skip to content

Commit 204c61a

Browse files
committed
make caching better
1 parent be74427 commit 204c61a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ ENV PYTHONPATH=/workspaces/TorchJD/tests
1717
ENV VIRTUAL_ENV=/opt/venv
1818
ENV PATH=/opt/venv/bin:$PATH
1919

20-
COPY pyproject.toml /tmp/torchjd-install/pyproject.toml
21-
COPY README.md /tmp/torchjd-install/README.md
22-
COPY src/ /tmp/torchjd-install/src/
23-
2420
WORKDIR /tmp/torchjd-install
21+
22+
COPY pyproject.toml README.md ./
23+
RUN mkdir -p src/torchjd && touch src/torchjd/__init__.py
2524
RUN uv venv /opt/venv \
2625
&& uv pip install --python-version=3.14 -e '.[full]' --group check --group doc --group test --group plot
2726

27+
COPY src/ src/
28+
2829
WORKDIR /workspaces/TorchJD

0 commit comments

Comments
 (0)