15 lines
245 B
Docker
15 lines
245 B
Docker
FROM node:22-alpine
|
|
|
|
ENV NEXT_TELEMETRY_DISABLED=1
|
|
RUN apk add --no-cache libc6-compat
|
|
WORKDIR /app
|
|
COPY ./out /app/out
|
|
RUN npm install serve
|
|
|
|
ENV NODE_ENV=production
|
|
ENV PORT=3000
|
|
ENV HOSTNAME="0.0.0.0"
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["npx", "serve", "out"] |