1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 00:38:06 +00:00

fix docker build issue

This commit is contained in:
thatmattlove 2024-05-27 14:21:30 -04:00
parent be09dbc476
commit 3b1cedf552
3 changed files with 4973 additions and 4039 deletions

View file

@ -1,5 +1,6 @@
hyperglass/hyperglass/static hyperglass/hyperglass/static
node_modules **/node_modules
**/node_modules/.pnpm
.DS_Store .DS_Store
hyperglass/ui/.env* hyperglass/ui/.env*
hyperglass.json hyperglass.json

View file

@ -7,10 +7,7 @@ ENV HYPERGLASS_DEBUG=false
ENV HYPERGLASS_DEV_MODE=false ENV HYPERGLASS_DEV_MODE=false
ENV HYPERGLASS_REDIS_HOST=redis ENV HYPERGLASS_REDIS_HOST=redis
ENV HYPEGLASS_DISABLE_UI=true ENV HYPEGLASS_DISABLE_UI=true
COPY . . COPY . .
RUN pip3 install .
FROM base as ui FROM base as ui
WORKDIR /opt/hyperglass/hyperglass/ui WORKDIR /opt/hyperglass/hyperglass/ui
@ -21,6 +18,7 @@ RUN pnpm install -P
FROM ui as hyperglass FROM ui as hyperglass
WORKDIR /opt/hyperglass WORKDIR /opt/hyperglass
RUN pip3 install -e .
EXPOSE ${HYPERGLASS_PORT} EXPOSE ${HYPERGLASS_PORT}
CMD ["python3", "-m", "hyperglass.console", "start"] CMD ["python3", "-m", "hyperglass.console", "start"]

File diff suppressed because it is too large Load diff