Update Dockerfile

This commit is contained in:
Krish Dholakia 2024-03-28 16:40:36 -07:00 committed by GitHub
parent b159e6d7f1
commit 359ca003ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ FROM node:20.11.0
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
COPY ./litellm-js/spend-logs/package*.json ./
# Install dependencies
RUN npm install
@ -14,7 +14,7 @@ RUN npm install
RUN npm install -g prisma
# Copy the rest of the application code
COPY . .
COPY ./litellm-js/spend-logs .
# Generate Prisma client
RUN npx prisma generate