user-engine/Containerfile
tegwick 0980d1fd41
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Implement user-engine portal foundation
2026-07-27 22:47:39 +02:00

12 lines
354 B
Docker

FROM python:3.12-slim@sha256:d764629ce0ddd8c71fd371e9901efb324a95789d2315a47db7e4d27e78f1b0e9
RUN useradd --create-home --uid 10001 user-engine
WORKDIR /app
COPY pyproject.toml README.md /app/
COPY src /app/src
RUN pip install --no-cache-dir ".[postgres]"
USER 10001:10001
EXPOSE 8080
ENV PYTHONUNBUFFERED=1
CMD ["python", "-m", "user_engine.runtime"]