placemate-server / Dockerfile
Mittalyash's picture
Upload folder using huggingface_hub
1906404 verified
raw
history blame contribute delete
305 Bytes
FROM node:18-slim
WORKDIR /app
# Copy package files and install dependencies
COPY package.json package-lock.json ./
RUN npm ci --production
# Copy application code
COPY . .
# Hugging Face Spaces uses port 7860
ENV PORT=7860
# Expose the port
EXPOSE 7860
# Start the server
CMD ["node", "server.js"]