We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c83b4e5 commit c03ab60Copy full SHA for c03ab60
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM python:3.12.3-alpine as base
+FROM python:3.12.3-alpine AS base
2
# UI dependencies
3
RUN apk add build-base pkgconfig cairo-dev nodejs npm
4
# Setup rootless image
@@ -17,7 +17,7 @@ ENV HYPERGLASS_REDIS_HOST=redis
17
ENV HYPEGLASS_DISABLE_UI=true
18
ENV HYPERGLASS_CONTAINER=true
19
20
-FROM base as ui
+FROM base AS ui
21
# Set NPM global install path to the home directory so permissions are correct
22
RUN mkdir ~/.npm-global ~/.npm-store
23
RUN npm config set prefix "~/.npm-global"
@@ -26,7 +26,7 @@ WORKDIR /opt/hyperglass/hyperglass/ui
26
RUN npm install -g pnpm
27
RUN pnpm install -P
28
29
-FROM ui as hyperglass
+FROM ui AS hyperglass
30
WORKDIR /opt/hyperglass
31
RUN pip3 install --user --no-cache-dir -e .
32
0 commit comments