Skip to content

Commit

Permalink
fix public folder missing in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Monargoras committed Nov 7, 2024
1 parent 53404d1 commit 25f7727
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-nxtstart-app",
"version": "2.7.5",
"version": "2.7.6",
"description": "Nxtstart is an easy to use, interactive CLI tool to bootstrap your next web-based project. The template is aimed at students to get an easy access to web development with example implementations. It is also useful for experts to speed up prototyping.",
"main": "src/index.js",
"type": "module",
Expand Down
2 changes: 2 additions & 0 deletions src/templates/general/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ COPY --from=builder /app/prisma ./prisma
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
# copy the public folder from the project as this is not included in the build process
COPY --from=builder --chown=nextjs:nodejs /app/public ./public

USER nextjs

Expand Down

0 comments on commit 25f7727

Please sign in to comment.