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:
parent
be09dbc476
commit
3b1cedf552
3 changed files with 4973 additions and 4039 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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"]
|
||||||
|
|
|
||||||
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