litellm/ui/Dockerfile

20 lines
491 B
Docker

# Use an official Node.js image as the base image
FROM node:18-alpine
# Set the working directory inside the container
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY ./litellm-dashboard/package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code to the working directory
COPY ./litellm-dashboard .
# Expose the port that the Next.js app will run on
EXPOSE 3000
# Start the Next.js app
CMD ["npm", "run", "dev"]