Update Dockerfile

Co-authored-by: Sleeyax <yourd3veloper@gmail.com>
This commit is contained in:
Rahul Bhardwaj 2024-10-10 07:26:25 +05:30 committed by GitHub
parent 5f62d1fb2d
commit 65629d07ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,12 +4,13 @@ WORKDIR /app
RUN npm install -g pnpm
# Install dependencies (this step is cached as long as the dependencies don't change)
COPY package.json package-lock.json .
RUN pnpm install
# Copy the rest of your app's source code
COPY . .
# Install dependencies
RUN pnpm install
# Expose the port the app runs on
EXPOSE 5173