From 4416e355800cd69f8e3307dafda9591c7592f34b Mon Sep 17 00:00:00 2001 From: Akshay Kolli Date: Sun, 8 Feb 2026 03:27:35 -0500 Subject: [PATCH] updated --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dff3da6..072a4ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,9 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static # Create data directory for SQLite RUN mkdir -p /app/data && chown nextjs:nodejs /app/data +COPY --chown=nextjs:nodejs start.sh ./ +RUN chmod +x start.sh + USER nextjs EXPOSE 3000 @@ -55,7 +58,4 @@ ENV PORT 3000 # set hostname to localhost ENV HOSTNAME "0.0.0.0" -COPY --chown=nextjs:nodejs start.sh ./ -RUN chmod +x start.sh - CMD ["./start.sh"]