Skip to content

Commit

Permalink
refactor: Update Dockerfile to use 'npx nest build' for building the …
Browse files Browse the repository at this point in the history
…NestJS application
  • Loading branch information
luthfiarifin committed Oct 6, 2024
1 parent 303846f commit c9bdd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN pnpm install --prod
COPY . .

# Build the NestJS application
RUN pnpm run build
RUN npx nest build

# Expose port 3000
EXPOSE 3000
Expand Down

0 comments on commit c9bdd0c

Please sign in to comment.