FROM node:14 WORKDIR /run COPY package*.json ./ COPY components ./components COPY styles ./styles COPY app ./app COPY config ./config COPY types ./types COPY public ./public COPY next.config.js . COPY tsconfig.json . COPY postcss.config.js . COPY tailwind.config.js . RUN npm install RUN npm run build RUN npm run start # CMD ["node", "index.js"]