Update Dockerfile

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

View file

@ -2,7 +2,7 @@
FROM node:20.11.0
# Set the working directory inside the container
WORKDIR /usr/src/app
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
@ -23,4 +23,4 @@ RUN npx prisma generate
EXPOSE 3000
# Command to run the Node.js app with npm run dev
CMD ["npm", "run", "dev"]
CMD ["npm", "run", "dev"]