fix DockerFile
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 2m39s

This commit is contained in:
levis
2025-06-19 16:59:26 +00:00
parent 551f68a78a
commit 76aa42dc25
5 changed files with 33 additions and 23 deletions

View File

@ -1,7 +1,7 @@
FROM node:18-alpine
FROM node:22-alpine
WORKDIR /usr/src/app
COPY package*..json ./
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
CMD ["node", ".dist/server/index.mjs"]
CMD ["node", "dist/server/index.mjs"]