Skip to content

Commit

Permalink
use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Oct 31, 2024
1 parent 8127d9b commit 2058bd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY package*.json ./
ENV NODE_ENV=production

# Install only production dependencies
RUN npm install --omit=dev
RUN pnpm install --prod

# Copy the rest of the application code
COPY . .
Expand All @@ -20,4 +20,4 @@ COPY . .
EXPOSE 3005

# Define the command to run the application
CMD ["npm", "start"]
CMD ["pnpm", "start"]

0 comments on commit 2058bd3

Please sign in to comment.