From efebc79d353be41f12b285da18ad2fea617698a0 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Thu, 1 Aug 2024 12:19:43 +0200 Subject: [PATCH] Ci : dockerfile ARG NUXT_PUBLIC_WELCOME_MESSAGE --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec764e5..5a847e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM node:lts-alpine as build-stage +FROM node:lts-alpine AS build-stage WORKDIR /app COPY package*.json ./ RUN npm install COPY . . ARG NUXT_PUBLIC_ENDPOINT ARG NUXT_PUBLIC_DISCORD_LOGIN_ENDPOINT -ARG NUXT_WELCOME_MESSAGE +ARG NUXT_PUBLIC_WELCOME_MESSAGE RUN npx nuxi generate # étape de production -FROM nginx:stable-alpine as production-stage +FROM nginx:stable-alpine AS production-stage COPY --from=build-stage /app/.output/public /usr/share/nginx/html COPY ./nginx.conf /etc/nginx/conf.d/default.conf \ No newline at end of file