diff --git a/estore/Dockerfile b/estore/Dockerfile index 73e0a4e..61db6a1 100644 --- a/estore/Dockerfile +++ b/estore/Dockerfile @@ -38,6 +38,11 @@ COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static +# Ensure the data directory exists and is writable by the nextjs user. +# For bind-mount deployments, the host directory must also be owned by uid 1001: +# sudo chown -R 1001:1001 estore/data +RUN mkdir -p /app/data && chown nextjs:nodejs /app/data + USER nextjs EXPOSE 3000 ENV PORT=3000 diff --git a/main-site/nav.js b/main-site/nav.js index 04dca05..4ff8c88 100644 --- a/main-site/nav.js +++ b/main-site/nav.js @@ -51,11 +51,11 @@ '
Copyright © ' + new Date().getFullYear() + ' Beach Party Balloons
\n' + 'All images & content are property of Beach Party Balloons. Use of images without written permission is prohibited.
\n' + '\n' + - ' Privacy Policy\n' + + ' Privacy Policy\n' + ' · \n' + - ' Terms of Service\n' + + ' Terms of Service\n' + ' · \n' + - ' Refund & Cancellation Policy\n' + + ' Refund & Cancellation Policy\n' + '
\n' + ' \n' + '';