File size: 435 Bytes
16b2d82
 
 
 
 
 
 
 
 
 
7773571
16b2d82
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use the Node.js 18 slim image as a parent image
FROM node:18-slim

# Install git (required for cloning the repository)
RUN apt-get update && apt-get install -y git

# Set the working directory in the container
WORKDIR /app

# Clone the repository
RUN git clone https://huggingface.co/datasets/PyxiVerse/server .

# Install the dependencies
RUN npm install

# Expose port 7860
EXPOSE 7860

# Start the application
CMD ["npm", "start"]