fix docker build missing readme

This commit is contained in:
2025-05-30 20:00:49 +01:00
parent a16e316f2f
commit 35f4cf43cc
2 changed files with 12 additions and 28 deletions

View File

@@ -6,11 +6,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml .
COPY pyproject.toml readme.md ./
RUN pip install --no-cache-dir .
COPY . .
# Create non-root user for security
RUN addgroup --system --gid 1001 python && \
adduser --system --uid 1001 --gid 1001 appuser
COPY --chown=appuser:python . .
USER appuser
EXPOSE 8000