first commit

This commit is contained in:
meninjar
2026-08-05 01:30:50 +00:00
commit afb0d434bf
26 changed files with 8283 additions and 0 deletions

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# ============================================
# SIMRS Log Forensic Inspector — DEVELOPMENT
# ============================================
# Mode: Hot-reload server via --watch-path
# Source: Mounted dari host via docker-compose volume
# Frontend: Disajikan dari dist/ yang di-mount dari host
# ============================================
FROM node:23-alpine
WORKDIR /app
# Copy dependency manifest first (cache layer)
COPY package*.json ./
# Install ALL dependencies (termasuk devDependencies)
RUN npm install
# Copy source (akan di-override oleh volume mount saat dev)
COPY . .
# Build frontend bundle awal
RUN npm run build
EXPOSE 5880
ENV NODE_ENV=development
ENV PORT=5880
# Watch hanya folder server/ agar perubahan log tidak trigger restart
CMD ["node", "--watch-path=server", "server/index.js"]