copy creds in container

This commit is contained in:
Matteo Rosati
2026-01-20 11:03:29 +01:00
parent 7df1b9f718
commit 3dd38dc6fa
2 changed files with 30 additions and 26 deletions

View File

@@ -39,6 +39,9 @@ RUN apk add --no-cache \
RUN addgroup -g 1000 appuser && \
adduser -D -u 1000 -G appuser appuser
# Copy credentials file if it exists
COPY --chown=appuser:appuser credentials.json .
# Copy virtual environment from builder
COPY --from=builder /opt/venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"