Compare commits

...
8 Commits
Author SHA1 Message Date
Brian Bjarke Jensen 7229773371 Merge pull request 'add_pypi_proxy' (#42) from add_pypi_proxy into main
Reviewed-on: #42
2024-06-12 21:51:21 +02:00
Brian Bjarke Jensen ef985f6687 added no-root to poetry install
CI Pipeline / Test (pull_request) Successful in 3m27s
CI Pipeline / Build and Publish (./Dockerfile.model, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/model) (pull_request) Successful in 7m0s
CI Pipeline / Build and Publish (./Dockerfile.web_ui, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/web_ui) (pull_request) Successful in 5m29s
2024-06-05 22:31:29 +02:00
Brian Bjarke Jensen 599769a8f6 updated lock file
CI Pipeline / Test (pull_request) Successful in 4m28s
CI Pipeline / Build and Publish (./Dockerfile.model, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/model) (pull_request) Successful in 5m39s
CI Pipeline / Build and Publish (./Dockerfile.web_ui, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/web_ui) (pull_request) Successful in 5m55s
2024-06-05 22:14:46 +02:00
Brian Bjarke Jensen 70dca8f598 fixed link bug
CI Pipeline / Build and Publish (./Dockerfile.model, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/model) (pull_request) Has been skipped
CI Pipeline / Test (pull_request) Failing after 31s
CI Pipeline / Build and Publish (./Dockerfile.web_ui, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/web_ui) (pull_request) Has been skipped
2024-06-05 22:13:29 +02:00
Brian Bjarke Jensen 28d86e8762 fixed port bug
CI Pipeline / Test (pull_request) Failing after 32s
CI Pipeline / Build and Publish (./Dockerfile.model, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/model) (pull_request) Has been skipped
CI Pipeline / Build and Publish (./Dockerfile.web_ui, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/web_ui) (pull_request) Has been skipped
2024-06-05 22:10:15 +02:00
Brian Bjarke Jensen fb278b641c updated lock file
CI Pipeline / Test (pull_request) Failing after 33s
CI Pipeline / Build and Publish (./Dockerfile.model, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/model) (pull_request) Has been skipped
CI Pipeline / Build and Publish (./Dockerfile.web_ui, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/web_ui) (pull_request) Has been skipped
2024-06-05 22:06:51 +02:00
Brian Bjarke Jensen 3eb5f5e826 updated to use pypi proxy
CI Pipeline / Test (pull_request) Failing after 27s
CI Pipeline / Build and Publish (./Dockerfile.web_ui, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/web_ui) (pull_request) Has been skipped
CI Pipeline / Build and Publish (./Dockerfile.model, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/model) (pull_request) Has been skipped
2024-06-05 22:04:27 +02:00
Brian Bjarke Jensen 4a4ee95e31 added threadripper as pypi proxy 2024-06-05 22:04:19 +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"