forked from mirrors/thatmattlove-hyperglass
fix docker build issue
This commit is contained in:
parent
be09dbc476
commit
3b1cedf552
3 changed files with 4973 additions and 4039 deletions
|
|
@ -1,5 +1,6 @@
|
|||
hyperglass/hyperglass/static
|
||||
node_modules
|
||||
**/node_modules
|
||||
**/node_modules/.pnpm
|
||||
.DS_Store
|
||||
hyperglass/ui/.env*
|
||||
hyperglass.json
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
8595
hyperglass/ui/pnpm-lock.yaml
generated
8595
hyperglass/ui/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue