File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,13 @@ COPY .python-version pyproject.toml uv.lock /app/
1616
1717# Create a virtual environment and sync dependencies
1818RUN uv venv
19- RUN uv sync --no-install-project
19+ RUN uv sync --no-install-project --no-default-groups
2020
2121# Copy documentation source files
2222COPY . .
23+ # above resets the cache, always clone the latest version of the project
24+ RUN . .venv/bin/activate && git clone https://github.com/hololinked-dev/hololinked.git && \
25+ cd hololinked && pip install -e . && cd ..
2326
2427# development image
2528FROM base AS dev
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ description = "mkdocs material based documentation for hololinked"
55readme = " README.md"
66requires-python = " >=3.13"
77dependencies = [
8- " hololinked" ,
98 " mkdocs-autorefs==1.4.2" ,
109 " mkdocs-git-authors-plugin==0.9.5" ,
1110 " mkdocs-git-revision-date-localized-plugin==1.4.7" ,
@@ -16,9 +15,6 @@ dependencies = [
1615 " pip>=25.2" ,
1716]
1817
19- [tool .uv .sources ]
20- hololinked = { git = " https://github.com/hololinked-dev/hololinked.git" , branch = " main" }
21-
2218[dependency-groups ]
2319dev = [
2420 " ConfigParser==7.1.0" ,
@@ -33,5 +29,11 @@ dev = [
3329 " ruff>=0.12.10" ,
3430 " jupyter>=1.1.1" ,
3531 " requests==2.32.3" ,
36- " imageio"
37- ]
32+ " imageio" ,
33+ ]
34+ repo = [
35+ " hololinked"
36+ ]
37+
38+ [tool .uv .sources ]
39+ hololinked = { git = " https://github.com/hololinked-dev/hololinked.git" , branch = " main" }
You can’t perform that action at this time.
0 commit comments