Skip to content

Commit

Permalink
chore: Update Dockerfile path for building nextjs image
Browse files Browse the repository at this point in the history
Update the Dockerfile path to use the correct file location for building the nextjs image. Previously, the path was set to "/src/Dockerfile", which was incorrect. This change ensures that the correct Dockerfile is used during the build process, improving the accuracy of the image creation.
  • Loading branch information
antosubash committed Jun 12, 2024
1 parent d72f0c9 commit ea1dd31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ COPY package.json .

# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --chown=nextjs:nodejs /src/.next/standalone ./
COPY --chown=nextjs:nodejs /src/.next/static ./.next/static
COPY --chown=nextjs:nodejs /.next/standalone ./
COPY --chown=nextjs:nodejs /.next/static ./.next/static
COPY --chown=nextjs:nodejs /public ./public

CMD node server.js

0 comments on commit ea1dd31

Please sign in to comment.