Spaces:
Sleeping
Sleeping
File size: 321 Bytes
dab1c1b 3560d2a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | FROM node:20-bookworm
# Create app directory
WORKDIR /app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Bundle app source
COPY . .
# Expose port 7860 (Hugging Face Spaces requirement)
EXPOSE 7860
# Set environment variables
ENV PORT=7860
# Run the search API server
CMD [ "node", "server.js" ]
|