task-runtime-ai / Dockerfile
harshlocham's picture
Update Dockerfile and README to standardize app port to 7860
9697691
Raw
History Blame Contribute Delete
263 Bytes
FROM node:20-slim
WORKDIR /app
ENV NEXT_TELEMETRY_DISABLED=1
ENV PORT=7860
COPY package.json package-lock.json ./
RUN npm ci --include=dev --legacy-peer-deps
COPY . .
RUN npm run build
EXPOSE 7860
CMD ["npm", "run", "start", "--", "--hostname", "0.0.0.0"]