trustgraph/Containerfile
elpresidank a8390532f7 Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c
git-subtree-dir: ai-context/workbench-ui
git-subtree-split: 32e36a5c2131e429a7081cfaf67dabad3193cda3
2026-04-05 21:08:02 -05:00

30 lines
615 B
Docker

FROM alpine:3.21 AS build
RUN apk add --update --no-cache --no-progress make g++ gcc linux-headers
RUN apk add --update --no-cache --no-progress python3 py3-pip py3-wheel \
python3-dev
RUN mkdir /root/wheels
COPY workbench-ui /root/workbench-ui/
RUN (cd /root/workbench-ui && pip wheel -w /root/wheels --no-deps .)
FROM alpine:3.21
ENV PIP_BREAK_SYSTEM_PACKAGES=1
COPY --from=build /root/wheels /root/wheels
RUN apk add --update --no-cache --no-progress python3 py3-pip \
py3-aiohttp
RUN pip install /root/wheels/* && \
pip cache purge && \
rm -rf /root/wheels
CMD service
EXPOSE 8888