Carpool / Dockerfile
Huzaifa1435's picture
Revert: Remove node_modules from tracking
8349c69
Raw History Blame Contribute Delete
548 Bytes
��FROM node:18
WORKDIR /app
# Copy package files first (better caching)
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Expose Hugging Face default port
EXPOSE 7860
# Start the server
CMD ["node", "server.js"]