Files

12 lines
413 B
Docker

# CI passes an immutable amd64 base tag after building Dockerfile.base. The
# public base default keeps direct local Docker builds possible.
ARG BELKI_BASE_IMAGE=python:3.12-slim
FROM --platform=linux/amd64 ${BELKI_BASE_IMAGE}
COPY app ./app
COPY web ./web
EXPOSE 8080 8081
CMD ["python", "-m", "app.main"]
#+ Runtime image reuses the immutable Python dependency base; only application sources are copied here.