sciagent code + Gitea Actions CI/CD
CI/CD / backend (push) Failing after 2m8s
CI/CD / frontend (push) Failing after 1m40s
CI/CD / deploy (push) Has been skipped

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Thinh Lam
2026-06-30 09:38:30 +07:00
commit 688fac73e9
1167 changed files with 158244 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# Use Node.js 20 Alpine as the base image
FROM node:22-alpine
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json (if exists) to leverage Docker cache
COPY package*.json ./
# Install dependencies in a single RUN command to reduce layers
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose Vite's default port
EXPOSE 8080
# Install deps then dev server (needed when /app/node_modules is a Docker volume).
CMD ["sh", "-c", "npm install && npm run dev -- --host 0.0.0.0 --port 8080"]