Skip to content

Commit 9f83755

Browse files
committed
fix: update Dockerfile to install dependencies from pyproject.toml and adjust .dockerignore
1 parent 103bd66 commit 9f83755

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.git*
22
.idea*
3-
*.md
3+
*.md
4+
.venv/

installer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN rm -rf /opt/maxkb-app/ui && \
2323
python3 -m venv /opt/py3 && \
2424
pip install uv --break-system-packages && \
2525
. /opt/py3/bin/activate && \
26-
uv sync && \
26+
uv pip install -r pyproject.toml && \
2727
find /opt/maxkb-app -depth \( -name ".git*" -o -name ".docker*" -o -name ".idea*" -o -name ".editorconfig*" -o -name ".prettierrc*" -o -name "README.md" -o -name "poetry.lock" -o -name "pyproject.toml" \) -exec rm -rf {} + && \
2828
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages && \
2929
export PIP_TARGET=/opt/maxkb-app/sandbox/python-packages && \

0 commit comments

Comments
 (0)