14 lines
499 B
Text
14 lines
499 B
Text
# DB-Dienst für Oracle. Bauen: podman build -f Containerfile.oracle -t db-mcp-oracle .
|
|
# UBI-Image läuft unter OpenShift mit zufälliger UID (restricted-v2), ohne root.
|
|
# Thin-Modus von python-oracledb: kein Oracle Instant Client nötig.
|
|
FROM registry.access.redhat.com/ubi9/python-312
|
|
|
|
WORKDIR /opt/app-root/src
|
|
COPY pyproject.toml ./
|
|
COPY dbmcp ./dbmcp
|
|
RUN pip install --no-cache-dir ".[oracle]"
|
|
|
|
USER 1001
|
|
EXPOSE 8080
|
|
ENV DBMCP_BIND=0.0.0.0 DBMCP_PORT=8080
|
|
CMD ["python", "-m", "dbmcp.oracle"]
|