Files
gitea-codex/Dockerfile
Space-Banane 7b63ecd536
All checks were successful
ci / test (push) Successful in 27s
ci / publish (push) Successful in 1m24s
Massive Improvements & MVP Patches
2026-05-22 21:27:48 +02:00

19 lines
462 B
Docker

FROM python:3.12-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install -y --no-install-recommends git docker.io ca-certificates && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml README.md /app/
COPY src /app/src
COPY alembic.ini /app/
COPY alembic /app/alembic
RUN pip install --no-cache-dir .
EXPOSE 8000
CMD ["uvicorn", "gitea_codex_bot.main:app", "--host", "0.0.0.0", "--port", "8000"]