init
Some checks failed
Build & Deploy Nuxt (Docker) / deploy (push) Failing after 6s

This commit is contained in:
Tom Trappmann
2025-12-22 21:30:18 +01:00
commit c0b06c1927
32 changed files with 17721 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM node:20-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:20-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY --from=build /app/.output ./.output
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]