File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ COPY --chmod=700 . /opt/maxkb-app
1818WORKDIR /opt/maxkb-app
1919RUN rm -rf /opt/maxkb-app/ui && \
2020 pip install uv --break-system-packages && \
21+ . /opt/py3/bin/activate && \
2122 uv pip install -r pyproject.toml && \
2223 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 {} + && \
2324 export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages && \
Original file line number Diff line number Diff line change 11FROM python:3.11-slim-trixie AS python-stage
2- RUN mkdir -p /opt/maxkb-app && \
3- cd /opt/maxkb-app && \
4- python3 -m venv /opt/py3 && \
5- . /opt/py3/bin/activate
2+ RUN python3 -m venv /opt/py3
3+
64
75FROM ghcr.io/1panel-dev/maxkb-vector-model:v2.0.2 AS vector-model
86
You can’t perform that action at this time.
0 commit comments