diff --git a/Dockerfile b/Dockerfile index 9ca8eb6..57d07b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,7 @@ WORKDIR /app ENV NODE_ENV=production COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static +RUN if [ -d "/app/public" ]; then cp -r /app/public ./public; fi # Copy public folder if it exists EXPOSE 3000 CMD ["node", "server.js"]