Initial commit

This commit is contained in:
Alejandro Martinez
2026-02-12 02:04:10 +01:00
commit f09af719cf
13433 changed files with 2193445 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
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/skills ./data/skills
ENV HOST=0.0.0.0
ENV PORT=4321
ENV SKILLS_DIR=/app/data/skills
ENV SITE_URL=https://skills.here.run.place
EXPOSE 4321
CMD ["node", "./dist/server/entry.mjs"]