server1 / Dockerfile
PyxiLabs's picture
Update Dockerfile
7773571 verified
raw
history blame contribute delete
435 Bytes
# 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"]