Spaces:
Sleeping

digiintel-api / Dockerfile
digiintel's picture
Update Dockerfile
dab1c1b verified
Raw History Blame Contribute Delete
321 Bytes
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" ]