Files
vhaudiquet.fr/Dockerfile
T
vhaudiquet 99a943eb36
pipeline / build-and-push-images (push) Successful in 3m12s
Moved to Nuxt
NuxtJS, Vue, real web app

Nuxt content: blog

Better mobile/responsive design and practices

Better practices overall
2025-11-18 20:59:23 +01:00

14 lines
279 B
Docker

FROM node:22-alpine AS base
WORKDIR /app
RUN corepack enable
FROM base AS build
COPY package*.json ./
RUN npm install
COPY . .
RUN npx nuxi generate
FROM nginx:latest
RUN rm /usr/share/nginx/html/*
COPY --from=build --chown=1000:1000 /app/.output/public /usr/share/nginx/html/