Skip to content

Commit

Permalink
Merge pull request #706 from hngprojects/destinedcodes-patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
DrInTech22 authored Jul 28, 2024
2 parents 7eadbb8 + 523967d commit c9c8f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN cp .env.sample .env

# Build the application
RUN corepack enable pnpm && pnpm run build
Expand Down Expand Up @@ -53,4 +54,4 @@ ENV PORT 3000

# server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
CMD HOSTNAME="0.0.0.0" node server.js
CMD HOSTNAME="0.0.0.0" node server.js

0 comments on commit c9c8f8a

Please sign in to comment.