From b4bd48a889a8b40d14d3441b4a4d389b63ae32e9 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Sun, 8 Dec 2024 01:01:15 +0000 Subject: [PATCH] Fix casing warning --- WebDisplay/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebDisplay/Dockerfile b/WebDisplay/Dockerfile index dd323dd..2da9ead 100644 --- a/WebDisplay/Dockerfile +++ b/WebDisplay/Dockerfile @@ -1,5 +1,5 @@ # build stage -FROM node:lts-alpine as build-stage +FROM node:lts-alpine AS build-stage RUN corepack enable && corepack prepare pnpm@latest --activate WORKDIR /app COPY package*.json ./ @@ -8,7 +8,7 @@ COPY . . RUN pnpm run build # production stage -FROM nginx:stable-alpine as production-stage +FROM nginx:stable-alpine AS production-stage COPY nginx/default.conf /etc/nginx/conf.d/ RUN rm -rf /usr/share/nginx/html/* COPY --from=build-stage /app/dist /usr/share/nginx/html