feat: Implement frontend production deployment and enhance admin dashboard functionality

This commit is contained in:
2025-05-26 21:54:13 +02:00
parent c2ea6c34ea
commit 7aa70cf976
59 changed files with 9161 additions and 10894 deletions

View File

@@ -4,7 +4,7 @@ FROM node:20-bookworm-slim
RUN mkdir -p /usr/src/app
# Set environment variables
ENV PORT=3000
ENV PORT=80
ENV NEXT_TELEMETRY_DISABLED=1
WORKDIR /usr/src/app
@@ -28,7 +28,7 @@ RUN pnpm run db
# Build the application
RUN pnpm run build
EXPOSE 3000
EXPOSE 80
# Start the application
CMD ["/bin/sh", "-c", "if [ ! -f ./db/sqlite.db ]; then pnpm db; fi && pnpm start"]