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
node_modules
**/node_modules
**/node_modules/.pnpm
.DS_Store
hyperglass/ui/.env*
hyperglass.json

View file

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

File diff suppressed because it is too large Load diff