Updated uptime sql errros

This commit is contained in:
Akshay Kolli
2026-02-08 03:20:36 -05:00
parent 6bb3cea2aa
commit f9ad906675
5 changed files with 30 additions and 11 deletions

View File

@@ -44,6 +44,9 @@ 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
# Create data directory for SQLite
RUN mkdir -p /app/data && chown nextjs:nodejs /app/data
USER nextjs
EXPOSE 3000
@@ -52,4 +55,7 @@ ENV PORT 3000
# set hostname to localhost
ENV HOSTNAME "0.0.0.0"
CMD ["node", "server.js"]
COPY start.sh ./
RUN chmod +x start.sh
CMD ["./start.sh"]