4 Commits

Author SHA1 Message Date
headlessdev
460c9103f7 v0.0.3 dev->main
v0.0.3
2025-04-14 17:21:20 +02:00
headlessdev
14574e370c Version Update 2025-04-14 17:20:25 +02:00
headlessdev
b915e0066d Hotfix 2025-04-14 17:19:13 +02:00
headlessdev
489c73ef77 Readme.md Buymeacoffee widget 2025-04-14 16:06:56 +02:00
3 changed files with 12 additions and 5 deletions

View File

@@ -4,32 +4,37 @@ FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json* ./
COPY ./prisma ./prisma
RUN npm install
RUN npx prisma generate
COPY . .
RUN npm run build
# Production Stage
FROM node:20-alpine AS production
WORKDIR /app
ENV NODE_ENV production
# Install production dependencies INCLUDING prisma
COPY package.json package-lock.json* ./
RUN npm install --production
RUN npm install --production --ignore-scripts
# Copy needed Prisma files
COPY --from=builder /app/node_modules/.prisma /app/node_modules/.prisma
COPY --from=builder /app/node_modules/@prisma /app/node_modules/@prisma
COPY --from=builder /app/prisma ./prisma
# Copy built application
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/next.config.js* ./
EXPOSE 3000
CMD ["npm", "start"]
# Run migrations first, then start app
CMD ["sh", "-c", "npx prisma migrate deploy && npm start"]

View File

@@ -6,6 +6,8 @@
The only dashboard you'll ever need to manage your entire server infrastructure. Keep all your server data organized in one central place, easily add your self-hosted applications with quick access links, and monitor their availability in real-time with built-in uptime tracking. Designed for simplicity and control, it gives you a clear overview of your entire self-hosted setup at a glance.
<a href="https://buymeacoffee.com/corecontrol" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
## Features
- Dashboard: A clear screen with all the important information about your servers (WIP)

View File

@@ -1,6 +1,6 @@
{
"name": "corecontrol",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"scripts": {
"dev": "next dev --turbopack",