[PR #125] [MERGED] Add Docker support and remove advetools from requirements #230

Closed
opened 2026-03-02 23:34:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AJaySi/ALwrity/pull/125
Author: @xDaijobu
Created: 9/12/2024
Status: Merged
Merged: 9/12/2024
Merged by: @AJaySi

Base: mainHead: main


📝 Commits (2)

  • 9aed413 Add Docker support and remove advetools from requirements.txt
  • 40c8ba0 upd requirements.txt

📊 Changes

3 files changed (+24 additions, -1 deletions)

View changed files

Dockerfile (+13 -0)
docker-compose.yml (+11 -0)
📝 requirements.txt (+0 -1)

📄 Description

Removed advetools from requirements.txt due to compatibility issues (see https://github.com/AJaySi/AI-Writer/issues/124)

ALwrity Docker Setup

  1. Create Dockerfile:

    FROM python:3.12
    WORKDIR /app
    COPY requirements.txt .
    RUN pip install -r requirements.txt
    COPY . .
    EXPOSE 8501
    CMD ["streamlit", "run", "alwrity.py"]
    
  2. Create docker-compose.yml:

    version: '3.8'
    services:
      app:
        image: python:3.12
        working_dir: /app
        volumes:
          - .:/app
        command: bash -c "pip install -r requirements.txt && streamlit run alwrity.py"
        ports:
          - "8501:8501"
    
  3. Build and Run:

    docker-compose up --build
    
  4. Access the App: Visit http://localhost:8501 in your browser.

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AJaySi/ALwrity/pull/125 **Author:** [@xDaijobu](https://github.com/xDaijobu) **Created:** 9/12/2024 **Status:** ✅ Merged **Merged:** 9/12/2024 **Merged by:** [@AJaySi](https://github.com/AJaySi) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`9aed413`](https://github.com/AJaySi/ALwrity/commit/9aed41366fc85da3b703db16aa5d7df1559cd47a) Add Docker support and remove advetools from requirements.txt - [`40c8ba0`](https://github.com/AJaySi/ALwrity/commit/40c8ba0e8b572f4f48ef5a9a52045ff4dc589a89) upd requirements.txt ### 📊 Changes **3 files changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `Dockerfile` (+13 -0) ➕ `docker-compose.yml` (+11 -0) 📝 `requirements.txt` (+0 -1) </details> ### 📄 Description ### Removed advetools from requirements.txt due to compatibility issues (see https://github.com/AJaySi/AI-Writer/issues/124) ### ALwrity Docker Setup 1. **Create `Dockerfile`**: ```Dockerfile FROM python:3.12 WORKDIR /app COPY requirements.txt . RUN pip install -r requirements.txt COPY . . EXPOSE 8501 CMD ["streamlit", "run", "alwrity.py"] ``` 2. **Create `docker-compose.yml`**: ```yaml version: '3.8' services: app: image: python:3.12 working_dir: /app volumes: - .:/app command: bash -c "pip install -r requirements.txt && streamlit run alwrity.py" ports: - "8501:8501" ``` 3. **Build and Run**: ```bash docker-compose up --build ``` 4. **Access the App**: Visit `http://localhost:8501` in your browser. ![image](https://github.com/user-attachments/assets/313a8fe0-f3d4-49ee-aa5e-a8c65150e201) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:34:43 +03:00
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#230
No description provided.