- Rename Grimaired -> Grimoired everywhere (title, nav, descriptions, token keys) - Update domain from skills.here.run.place to grimoi.red - Add Grimoired logo with description on homepage - Add accordion behavior for Quick install / Quick push sections - Add generic resource system (skills, agents, output-styles, rules) - Add resource registry, editor, search, and file manager components
24 lines
542 B
Docker
24 lines
542 B
Docker
FROM node:22-alpine AS build
|
|
WORKDIR /app
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM node:22-alpine AS runtime
|
|
WORKDIR /app
|
|
COPY --from=build /app/dist ./dist
|
|
COPY --from=build /app/node_modules ./node_modules
|
|
COPY --from=build /app/data ./data
|
|
|
|
ENV HOST=0.0.0.0
|
|
ENV PORT=4321
|
|
ENV SKILLS_DIR=/app/data/skills
|
|
ENV AGENTS_DIR=/app/data/agents
|
|
ENV OUTPUT_STYLES_DIR=/app/data/output-styles
|
|
ENV RULES_DIR=/app/data/rules
|
|
ENV SITE_URL=https://grimoi.red
|
|
|
|
EXPOSE 4321
|
|
CMD ["node", "./dist/server/entry.mjs"]
|