Initial commit

This commit is contained in:
Plexi09 2026-02-22 20:10:40 +01:00
parent 32184a54ce
commit a18a0e9b7a
Signed by: Plexi09
GPG key ID: 20D439A69163544A
31 changed files with 8180 additions and 0 deletions

25
Dockerfile Normal file
View file

@ -0,0 +1,25 @@
FROM node:20-slim AS frontend-builder
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm install
COPY frontend/ ./
RUN npm run build
FROM node:20-slim AS backend
WORKDIR /app
COPY package*.json ./
RUN npm install --production
WORKDIR /app/backend
COPY backend/package*.json ./
RUN npm install --production
COPY backend/ ./
# Copy frontend build
COPY --from=frontend-builder /app/frontend/dist /app/frontend/dist
EXPOSE 3001
CMD ["node", "server.js"]