mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 00:38:06 +00:00
migrate docker container to alpine
This commit is contained in:
parent
42e217ad90
commit
ce1b720267
1 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.12.2-bookworm as base
|
FROM python:3.12.3-alpine as base
|
||||||
WORKDIR /opt/hyperglass
|
WORKDIR /opt/hyperglass
|
||||||
ENV HYPERGLASS_APP_PATH=/etc/hyperglass
|
ENV HYPERGLASS_APP_PATH=/etc/hyperglass
|
||||||
ENV HYPERGLASS_HOST=0.0.0.0
|
ENV HYPERGLASS_HOST=0.0.0.0
|
||||||
|
|
@ -12,8 +12,7 @@ COPY . .
|
||||||
|
|
||||||
FROM base as ui
|
FROM base as ui
|
||||||
WORKDIR /opt/hyperglass/hyperglass/ui
|
WORKDIR /opt/hyperglass/hyperglass/ui
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
RUN apk add build-base pkgconfig cairo-dev nodejs npm
|
||||||
RUN apt-get install -y nodejs
|
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
RUN pnpm install -P
|
RUN pnpm install -P
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue