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:
Brian Bjarke Jensen
2024-06-12 21:51:21 +02:00
5 changed files with 668 additions and 182 deletions
+3
View File
@@ -17,6 +17,9 @@ jobs:
python-verison: "3.12" python-verison: "3.12"
architecture: "x64" architecture: "x64"
- name: Install Packages - name: Install Packages
env:
PIP_INDEX_URL: http://192.168.1.2:5001/index/
PIP_TRUSTED_HOST: 192.168.1.2
run: | run: |
pip install poetry pip install poetry
poetry install poetry install
+2 -1
View File
@@ -31,7 +31,8 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
WORKDIR ${APP_HOME} WORKDIR ${APP_HOME}
COPY ./poetry.lock ./pyproject.toml ./ COPY ./poetry.lock ./pyproject.toml ./
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \ RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
--with shared,model --with shared,model \
--no-root
# final stage # final stage
FROM python:3.12-slim-bookworm FROM python:3.12-slim-bookworm
+2 -1
View File
@@ -31,7 +31,8 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
WORKDIR ${APP_HOME} WORKDIR ${APP_HOME}
COPY ./poetry.lock ./pyproject.toml ./ COPY ./poetry.lock ./pyproject.toml ./
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \ RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
--with shared,web_ui --with shared,web_ui \
--no-root
# final stage # final stage
FROM python:3.12-slim-bookworm FROM python:3.12-slim-bookworm
Generated
+655 -180
View File
File diff suppressed because it is too large Load Diff
+6
View File
@@ -49,6 +49,12 @@ dash-bootstrap-components = "^1.5.0"
dash-mantine-components = "^0.12.1" dash-mantine-components = "^0.12.1"
dash-auth = "^2.2.0" dash-auth = "^2.2.0"
[[tool.poetry.source]]
name = "threadripper"
url = "http://192.168.1.2:5001/index/"
priority = "primary"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"