Files
doormilebuild/Dockerfile
2026-07-13 18:00:03 +05:30

16 lines
252 B
Docker

FROM node:18-alpine
WORKDIR /app
# Next.js standalone config and environment
ENV NODE_ENV production
ENV PORT 80
ENV HOSTNAME "0.0.0.0"
# Copy the pre-built standalone app from the build context
COPY build /app
EXPOSE 80
CMD ["node", "server.js"]