Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerize this? #5

Open
ameeno opened this issue Feb 26, 2024 · 2 comments
Open

Dockerize this? #5

ameeno opened this issue Feb 26, 2024 · 2 comments

Comments

@ameeno
Copy link

ameeno commented Feb 26, 2024

Is it possible to create a Docker container that operates without the need for a local browser? I store my audiobooks on a NAS, and Audiobookshelf runs in a Docker environment. Running this script directly on the host isn't feasible for me. Would dockerizing this script be a viable solution?

@Brook5643
Copy link

hi, i am new to actually creating docker containers but am currently trying to do this on my spare time.
it is a hobby project, but i will post if i finish anything

@Bothari
Copy link

Bothari commented Nov 12, 2024

It isn't really viable, as it opens a browser on the host, and monitors the host clipboard. It's trivial to Dockerize, but it fails almost immediately. My Dockerfile for it is as follows, for posterity:

FROM python:3.9-slim-buster

WORKDIR /app

COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

CMD ["python", "BadaBoomBooks.py", "/books"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants