Skip to content

Commit

Permalink
build(Dockerfile)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexmoe committed Nov 26, 2024
1 parent ebb9a4c commit f27cda1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ FROM dependency-base AS production-base
# Copy the source code
COPY . .

# Build the application
RUN pnpm run build
# Build the application with verbose logging
RUN set -x && \
pnpm run build && \
ls -la /app/.output || exit 1

# Stage 3: Production image
FROM $NODE_VERSION AS production
Expand Down

0 comments on commit f27cda1

Please sign in to comment.