@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user