12 lines
408 B
Docker
12 lines
408 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
|
|
CMD ["python", "-m", "app.main"]
|
|
#+ Runtime image reuses the immutable Python dependency base; only application sources are copied here.
|