Initial commit — Mek-Tech Live Labs Showcase v1.0

This commit is contained in:
mo
2026-07-12 21:54:28 +00:00
commit 070ab80d4a
30 changed files with 6187 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY frontend ./frontend
COPY server ./server
RUN npm run build
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY server ./server
COPY --from=builder /app/frontend/dist ./frontend/dist
ENV PORT=3010
ENV CACHE_DIR=/app/cache
RUN mkdir -p /app/cache
EXPOSE 3010
CMD ["node", "server/index.js"]