1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-04-17 13:28:27 +00:00

fix: docker build warning FromAsCasing

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
Ludovic Ortega 2024-07-19 00:03:15 +02:00
parent c83b4e5b19
commit c03ab6038c
No known key found for this signature in database
GPG key ID: 87471466EB186A4C

View file

@ -1,4 +1,4 @@
FROM python:3.12.3-alpine as base
FROM python:3.12.3-alpine AS base
# UI dependencies
RUN apk add build-base pkgconfig cairo-dev nodejs npm
# Setup rootless image
@ -17,7 +17,7 @@ ENV HYPERGLASS_REDIS_HOST=redis
ENV HYPEGLASS_DISABLE_UI=true
ENV HYPERGLASS_CONTAINER=true
FROM base as ui
FROM base AS ui
# Set NPM global install path to the home directory so permissions are correct
RUN mkdir ~/.npm-global ~/.npm-store
RUN npm config set prefix "~/.npm-global"
@ -26,7 +26,7 @@ WORKDIR /opt/hyperglass/hyperglass/ui
RUN npm install -g pnpm
RUN pnpm install -P
FROM ui as hyperglass
FROM ui AS hyperglass
WORKDIR /opt/hyperglass
RUN pip3 install --user --no-cache-dir -e .