logic-engine / node3-ui /Dockerfile
ghostdrive1's picture
Upload folder using huggingface_hub
1cf3e52 verified
Raw
History Blame Contribute Delete
290 Bytes
FROM node:20-alpine
WORKDIR /app
# Install dependencies
COPY package*.json ./
RUN npm install
RUN npm install express
# Copy source code and build
COPY . .
RUN npm run build
# Expose port required by Hugging Face Spaces
EXPOSE 7860
# Start the express server
CMD ["node", "server.js"]