Open SushiWaUmai opened 1 year ago
We don't have a docker file for Sorayomi web but you could use Sorayomi web here directly without installing
The problem what I'm hosting the tachidesk server on localhost which doesn't have https. So I just ended up writing my own docker file
FROM alpine as builder
RUN apk add unzip curl jq
RUN tag=$(curl -s https://api.github.com/repos/Suwayomi/Tachidesk-Sorayomi/tags | jq -r '.[0].name') && \
curl -LO https://github.com/Suwayomi/Tachidesk-Sorayomi/releases/download/$tag/tachidesk-sorayomi-$tag-web.zip && \
unzip tachidesk-sorayomi-$tag-web.zip -d ./static
FROM nginx:stable-alpine-slim
COPY --from=builder ./static /usr/share/nginx/html
This docker file just pulls the latest release of Sorayomi and serves it on port 80 via nginx. I don't know if this is worth adding to the repo, but it works well.
Just created a public docker container on dockerhub.
Will it pull latest release from GitHub?
else we could create a docker image directly from GitHub actions, you could raise a PR if you are interested
https://github.com/Suwayomi/Tachidesk-Sorayomi/blob/05a1997f609755e41e315a4bed1ce4150acd0ebd/.github/workflows/publish.yml#L175 You could write your workflow in the above file
use winget-publish
as reference
you need to write needs: create-build
so it will only execute after flutter builds all versions of Sorayomi (including web)
Will it pull latest release from GitHub?
The problem is that there is no way to figure out when a release is published, so it would be nice if we could move this to this repository.
Will it pull latest release from GitHub?
The problem is that there is no way to figure out when a release is published, so it would be nice if we could move this to this repository.
Thats not completely true, releases have a latest tag (eg. https://github.com/Suwayomi/Tachidesk-Sorayomi/releases/latest) when you open it, it will reference the current latest version of the releases.
Maybe use this instead of using the github api endpoint?
PLEASE READ THIS
Is your feature request related to a problem? Please describe. Are there any docker images for the web version of tachidesk sorayomi? I prefer the web version of sorayomi over the default webUI provided with the tachidesk-server.
Describe the solution you'd like Adding a docker container for the web version of sorayomi
Describe alternatives you've considered The WebUI
Additional context N/A