Initial commit

This commit is contained in:
Sistav
2026-03-01 23:10:24 -05:00
commit 4cefc00b64
44 changed files with 1587 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Stage 1: Build the React client
FROM node:20-alpine AS builder
WORKDIR /app/client
COPY client/package*.json ./
RUN npm install
COPY client/ ./
RUN npm run build
# Stage 2: Run the server
FROM node:20-alpine
WORKDIR /app/server
COPY server/package*.json ./
RUN npm install
COPY server/ ./
COPY --from=builder /app/client/build ./public
EXPOSE 3000
CMD ["node", "server.js"]