Spaces:
Sleeping

hindiapi / Dockerfile
Sumit TR
Upload 6 files
5c9ae01 verified
Raw History Blame Contribute Delete
263 Bytes
FROM node:20-alpine
WORKDIR /app
# Install dependencies first (cached layer)
COPY package*.json ./
RUN npm ci --omit=dev
# Copy source code
COPY . .
# Expose port (Hugging Face requires 7860)
EXPOSE 7860
ENV PORT=7860
# Start server
CMD ["node", "index.js"]