Initial commit

This commit is contained in:
Mindboost
2025-07-01 10:53:26 +00:00
commit 38050e5c69
416 changed files with 48708 additions and 0 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM node:18.19.1 as builder
WORKDIR /app
ARG BACKEND_URL
ENV BACKEND_URL ${BACKEND_URL}
ENV NODE_OPTIONS=--openssl-legacy-provider
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:18-slim as run
WORKDIR /app
ARG BACKEND_URL
ENV BACKEND_URL ${BACKEND_URL}
COPY package*.json ./
COPY --from=builder /app/.output .output
RUN ls -la /app
EXPOSE 3000
CMD [ "node", ".output/server/index.mjs"]