mirror of
https://github.com/DerTyp7/f1r3wave-website.git
synced 2025-10-29 13:02:09 +01:00
Make nextjs build standalone
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
FROM node:22-alpine AS build
|
||||
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
@@ -10,4 +12,4 @@ COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "start"]
|
||||
CMD ["node", ".next/standalone/server.js"]
|
||||
Reference in New Issue
Block a user