mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
chore(docker): add vendor directory to Dockerfile and update .dockerignore to exclude vendor test and documentation files
This commit is contained in:
parent
ddeff4d503
commit
e4f2e91c24
3 changed files with 6 additions and 0 deletions
|
|
@ -4,6 +4,10 @@ donate.md
|
|||
screenshots/
|
||||
docs/
|
||||
|
||||
vendor/lxmfy/tests/
|
||||
vendor/lxmfy/docs/
|
||||
vendor/lxmfy/.gitea/
|
||||
|
||||
# Development files
|
||||
android/
|
||||
android/keystore/
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||
RUN pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0"
|
||||
|
||||
COPY pyproject.toml poetry.lock README.md ./
|
||||
COPY vendor ./vendor
|
||||
RUN poetry config virtualenvs.create false && \
|
||||
poetry check --lock && \
|
||||
poetry install --no-root --only main --no-interaction --no-ansi && \
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||
RUN pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0"
|
||||
|
||||
COPY pyproject.toml poetry.lock README.md ./
|
||||
COPY vendor ./vendor
|
||||
RUN poetry config virtualenvs.create false && \
|
||||
poetry check --lock && \
|
||||
poetry install --no-root --only main --no-interaction --no-ansi && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue