Ci : dockerfile ARG NUXT_PUBLIC_WELCOME_MESSAGE
release-tag / release-image (push) Successful in 32s
release-tag / release-image (push) Successful in 32s
This commit is contained in:
+3
-3
@@ -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
|
||||
Reference in New Issue
Block a user