[GH-ISSUE #182] Dockerfile doesn't work #132

Closed
opened 2026-03-02 23:33:54 +03:00 by kerem · 2 comments
Owner

Originally created by @sevleo on GitHub (Apr 28, 2025).
Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/182

Originally assigned to: @AJaySi on GitHub.

For Dockerfile to work, I have to add this line right before step #7:

RUN apt-get update && apt-get install -y --no-install-recommends gcc build-essential && rm -rf /var/lib/apt/lists/*

Otherwise, I'm getting this error when trying to build the image:

63.48 Successfully built clint readability pandas_ta litellm peewee pyperclip pyppeteer args
63.48 Failed to build wordcloud
63.70 ERROR: Failed to build installable wheels for some pyproject.toml based projects (wordcloud)
------
Dockerfile:48
--------------------
  47 |     # 8. Install Python dependencies in runtime as root
  48 | >>> RUN pip install --upgrade pip && \
  49 | >>>     pip install --no-cache-dir -r requirements.txt
  50 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --upgrade pip &&     pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

After adding this line, the error is gone and the build command works

Originally created by @sevleo on GitHub (Apr 28, 2025). Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/182 Originally assigned to: @AJaySi on GitHub. For Dockerfile to work, I have to add this line right before step #7: RUN apt-get update && apt-get install -y --no-install-recommends gcc build-essential && rm -rf /var/lib/apt/lists/* Otherwise, I'm getting this error when trying to build the image: ``` 63.48 Successfully built clint readability pandas_ta litellm peewee pyperclip pyppeteer args 63.48 Failed to build wordcloud 63.70 ERROR: Failed to build installable wheels for some pyproject.toml based projects (wordcloud) ------ Dockerfile:48 -------------------- 47 | # 8. Install Python dependencies in runtime as root 48 | >>> RUN pip install --upgrade pip && \ 49 | >>> pip install --no-cache-dir -r requirements.txt 50 | -------------------- ERROR: failed to solve: process "/bin/sh -c pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1 ``` After adding this line, the error is gone and the build command works
kerem closed this issue 2026-03-02 23:33:54 +03:00
Author
Owner

@AJaySi commented on GitHub (Apr 29, 2025):

@sevleo
Hello, how are you. Thanks for reporting the errors.
I confirmed the working of docker file, in this issue: https://github.com/AJaySi/AI-Writer/issues/179

But, please send me a PR about the proposed changes in dockerfile and we will get it included.
Regards.

<!-- gh-comment-id:2837326608 --> @AJaySi commented on GitHub (Apr 29, 2025): @sevleo Hello, how are you. Thanks for reporting the errors. I confirmed the working of docker file, in this issue: https://github.com/AJaySi/AI-Writer/issues/179 But, please send me a PR about the proposed changes in dockerfile and we will get it included. Regards.
Author
Owner

@sevleo commented on GitHub (Apr 29, 2025):

@AJaySi added https://github.com/AJaySi/AI-Writer/pull/184

<!-- gh-comment-id:2837441620 --> @sevleo commented on GitHub (Apr 29, 2025): @AJaySi added https://github.com/AJaySi/AI-Writer/pull/184
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ALwrity#132
No description provided.