Skip to content

feat(docker): add minimal support (ai implementation) - #246

Open
rcmorano wants to merge 1 commit into
hfaran:masterfrom
rcmorano:feat/add-docker-support
Open

feat(docker): add minimal support (ai implementation)#246
rcmorano wants to merge 1 commit into
hfaran:masterfrom
rcmorano:feat/add-docker-support

Conversation

@rcmorano

Copy link
Copy Markdown

Changes:

  • Dockerfile: Multi-stage build (builder/runtime) with Python 3.12-slim, non-root user security, optional health check
  • docker-compose.yml: Service config with volume mounts for archive/cache, environment variables, port 5000 mapping
  • README.md: Added Docker section with prerequisites, quick start, configuration guide, background execution, and stopping instructions

Key Features:

  • Small image size via multi-stage build
  • Non-root user for security
  • Health check support
  • Volume persistence for cache
  • Easy configuration via docker-compose.yml and environment variables

Usage:

# Copy an export to $REPO_DIR/slack-export.zip
docker-compose up --build
# Open http://localhost:5000

Comment thread Dockerfile

# Install dependencies via pip (simpler for Docker)
COPY pyproject.toml poetry.lock ./
RUN pip install --no-cache-dir click werkzeug flask markdown2 emoji frozen-flask

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems prone to breaking over time. Is there no better way to install the dependencies properly?

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

Successfully merging this pull request may close these issues.

2 participants