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