Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dockerfiles/Dockerfile-request
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ COPY pyproject.toml /root/swift_request/pyproject.toml
COPY README.md /root/swift_request/README.md
COPY swift_browser_ui /root/swift_request/swift_browser_ui

# remove this link as it creates issues with hatch
# in pyproject.toml
RUN rm /root/swift_request/swift_browser_ui/ui/static

RUN --mount=type=cache,target=/root/.cache/pip \
pip install --upgrade pip \
&& pip install /root/swift_request
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/Dockerfile-runner
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ COPY pyproject.toml /root/swift_upload_runner/pyproject.toml
COPY README.md /root/swift_upload_runner/README.md
COPY swift_browser_ui /root/swift_upload_runner/swift_browser_ui

# remove this link as it creates issues with hatch
# in pyproject.toml
RUN rm /root/swift_upload_runner/swift_browser_ui/ui/static

RUN --mount=type=cache,target=/root/.cache/pip \
pip install --upgrade pip \
&& pip install /root/swift_upload_runner
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/Dockerfile-sharing
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ COPY pyproject.toml /root/swift_sharing/pyproject.toml
COPY README.md /root/swift_sharing/README.md
COPY swift_browser_ui /root/swift_sharing/swift_browser_ui

# remove this link as it creates issues with hatch
# in pyproject.toml
RUN rm /root/swift_sharing/swift_browser_ui/ui/static

RUN --mount=type=cache,target=/root/.cache/pip \
pip install --upgrade pip \
&& pip install /root/swift_sharing
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ name = "swift-browser-ui"
dynamic = ["version"]
description = "Object browser Web UI for Openstack Swift API"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "CSC Developers" },
Expand Down Expand Up @@ -67,6 +68,7 @@ swift-x-account-sharing = "swift_browser_ui.launcher:run_sharing"

[project.urls]
Source = "https://github.com/CSCfi/swift-browser-ui"
Documentation = "https://swift-browser-ui.readthedocs.io"

[tool.hatch.version]
path = "swift_browser_ui/__init__.py"