mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
Merge commit 'a8390532f7' as 'ai-context/workbench-ui'
This commit is contained in:
commit
1a72bfdec0
310 changed files with 56430 additions and 0 deletions
30
ai-context/workbench-ui/Containerfile
Normal file
30
ai-context/workbench-ui/Containerfile
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue