feat: initial commit — site + admin panel + Postgres content pipeline

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
AyrisAI
2026-07-21 01:24:47 +03:00
co-authored by Claude Fable 5
commit 3420d32271
188 changed files with 25053 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# Müco Mutfak — statik site + admin API tek container
# Sunucu, açılışta PUBLISH_ON_BOOT=true ile DB'den güncel içeriği çekip build alır.
FROM node:22-alpine
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .
# İlk build (repo'daki JSON'larla) — boot'ta DB içeriğiyle yenilenir
RUN yarn build
ENV NODE_ENV=production
ENV ADMIN_PORT=3001
ENV PUBLISH_ON_BOOT=true
EXPOSE 3001
CMD ["node", "server/index.mjs"]