Merge pull request 'add_pypi_proxy' (#42) from add_pypi_proxy into main
Reviewed-on: #42
This commit was merged in pull request #42.
This commit is contained in:
@@ -17,6 +17,9 @@ jobs:
|
||||
python-verison: "3.12"
|
||||
architecture: "x64"
|
||||
- name: Install Packages
|
||||
env:
|
||||
PIP_INDEX_URL: http://192.168.1.2:5001/index/
|
||||
PIP_TRUSTED_HOST: 192.168.1.2
|
||||
run: |
|
||||
pip install poetry
|
||||
poetry install
|
||||
|
||||
+2
-1
@@ -31,7 +31,8 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
|
||||
WORKDIR ${APP_HOME}
|
||||
COPY ./poetry.lock ./pyproject.toml ./
|
||||
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
|
||||
--with shared,model
|
||||
--with shared,model \
|
||||
--no-root
|
||||
|
||||
# final stage
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
+2
-1
@@ -31,7 +31,8 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
|
||||
WORKDIR ${APP_HOME}
|
||||
COPY ./poetry.lock ./pyproject.toml ./
|
||||
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
|
||||
--with shared,web_ui
|
||||
--with shared,web_ui \
|
||||
--no-root
|
||||
|
||||
# final stage
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
Generated
+655
-180
File diff suppressed because it is too large
Load Diff
@@ -49,6 +49,12 @@ dash-bootstrap-components = "^1.5.0"
|
||||
dash-mantine-components = "^0.12.1"
|
||||
dash-auth = "^2.2.0"
|
||||
|
||||
|
||||
[[tool.poetry.source]]
|
||||
name = "threadripper"
|
||||
url = "http://192.168.1.2:5001/index/"
|
||||
priority = "primary"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
Reference in New Issue
Block a user