chore: improve Docker/Podman compatibility and package installation
Some checks failed
CI/CD Pipeline / Generate Documentation (push) Successful in 4m14s
CI/CD Pipeline / Lint Code (push) Successful in 4m39s
CI/CD Pipeline / Build and Push Docker Images (api) (push) Has been cancelled
CI/CD Pipeline / Build and Push Docker Images (chat) (push) Has been cancelled
CI/CD Pipeline / Build and Push Docker Images (frontend) (push) Has been cancelled
CI/CD Pipeline / Build and Push Docker Images (worker) (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
Some checks failed
CI/CD Pipeline / Generate Documentation (push) Successful in 4m14s
CI/CD Pipeline / Lint Code (push) Successful in 4m39s
CI/CD Pipeline / Build and Push Docker Images (api) (push) Has been cancelled
CI/CD Pipeline / Build and Push Docker Images (chat) (push) Has been cancelled
CI/CD Pipeline / Build and Push Docker Images (frontend) (push) Has been cancelled
CI/CD Pipeline / Build and Push Docker Images (worker) (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
- Update Claude permissions to allow podman-compose commands - Improve Dockerfile package installation with poetry-core - Switch to explicit docker.io image references for Podman compatibility - Add PYTHONPATH configuration to ensure proper module imports - Change frontend port from 80 to 8080 for non-root compatibility - Add initial chat server implementation (main.py) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -41,8 +41,14 @@ COPY src/ /app/src/
|
||||
COPY config/ /app/config/
|
||||
COPY pyproject.toml README.md /app/
|
||||
|
||||
# Install the package in editable mode
|
||||
RUN pip install --no-cache-dir -e /app
|
||||
# Install poetry-core (required for install with pyproject.toml)
|
||||
RUN pip install --no-cache-dir poetry-core
|
||||
|
||||
# Install the package
|
||||
RUN pip install --no-cache-dir /app
|
||||
|
||||
# Set PYTHONPATH to ensure module can be imported
|
||||
ENV PYTHONPATH=/app/src:$PYTHONPATH
|
||||
|
||||
# Create necessary directories
|
||||
RUN mkdir -p /app/logs /app/output
|
||||
|
||||
@@ -37,8 +37,14 @@ COPY src/ /app/src/
|
||||
COPY config/ /app/config/
|
||||
COPY pyproject.toml README.md /app/
|
||||
|
||||
# Install the package in editable mode
|
||||
RUN pip install --no-cache-dir -e /app
|
||||
# Install poetry-core (required for install with pyproject.toml)
|
||||
RUN pip install --no-cache-dir poetry-core
|
||||
|
||||
# Install the package
|
||||
RUN pip install --no-cache-dir /app
|
||||
|
||||
# Set PYTHONPATH to ensure module can be imported
|
||||
ENV PYTHONPATH=/app/src:$PYTHONPATH
|
||||
|
||||
# Create necessary directories
|
||||
RUN mkdir -p /app/logs
|
||||
|
||||
@@ -41,8 +41,14 @@ COPY src/ /app/src/
|
||||
COPY config/ /app/config/
|
||||
COPY pyproject.toml README.md /app/
|
||||
|
||||
# Install the package in editable mode
|
||||
RUN pip install --no-cache-dir -e /app
|
||||
# Install poetry-core (required for install with pyproject.toml)
|
||||
RUN pip install --no-cache-dir poetry-core
|
||||
|
||||
# Install the package
|
||||
RUN pip install --no-cache-dir /app
|
||||
|
||||
# Set PYTHONPATH to ensure module can be imported
|
||||
ENV PYTHONPATH=/app/src:$PYTHONPATH
|
||||
|
||||
# Create necessary directories
|
||||
RUN mkdir -p /app/logs /app/output
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
version: '3.8'
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
# MongoDB Database
|
||||
mongodb:
|
||||
image: mongo:7-jammy
|
||||
image: docker.io/library/mongo:7-jammy
|
||||
container_name: datacenter-docs-mongodb-dev
|
||||
ports:
|
||||
- "27017:27017"
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
|
||||
# Redis Cache & Message Broker
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
image: docker.io/library/redis:7-alpine
|
||||
container_name: datacenter-docs-redis-dev
|
||||
ports:
|
||||
- "6379:6379"
|
||||
@@ -123,7 +123,7 @@ services:
|
||||
|
||||
# Flower - Celery Monitoring
|
||||
flower:
|
||||
image: mher/flower:2.0
|
||||
image: docker.io/mher/flower:2.0
|
||||
container_name: datacenter-docs-flower-dev
|
||||
ports:
|
||||
- "5555:5555"
|
||||
@@ -145,7 +145,7 @@ services:
|
||||
dockerfile: deploy/docker/Dockerfile.frontend
|
||||
container_name: datacenter-docs-frontend-dev
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- api
|
||||
- chat
|
||||
|
||||
Reference in New Issue
Block a user