Skip to content

Commit

Permalink
migrate docker container to alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed May 28, 2024
1 parent 42e217a commit ce1b720
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.2-bookworm as base
FROM python:3.12.3-alpine as base
WORKDIR /opt/hyperglass
ENV HYPERGLASS_APP_PATH=/etc/hyperglass
ENV HYPERGLASS_HOST=0.0.0.0
Expand All @@ -12,8 +12,7 @@ COPY . .

FROM base as ui
WORKDIR /opt/hyperglass/hyperglass/ui
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y nodejs
RUN apk add build-base pkgconfig cairo-dev nodejs npm
RUN npm install -g pnpm
RUN pnpm install -P

Expand Down

0 comments on commit ce1b720

Please sign in to comment.