Files
shokuninmarche/Dockerfile
Fullstack Developer e003c7146d Initial fullstack scaffold: Events, Guests, Budget, Bookings
- Express backend with PostgreSQL (JWT auth, full CRUD)
- React + Vite + TailwindCSS frontend in Hebrew (RTL)
- Features: Digital Booking System, Guest Management, Smart Budget Management
- Docker Compose with postgres healthcheck
- Auto-runs migrations on startup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 18:28:03 +00:00

22 lines
402 B
Docker

FROM node:20-alpine
WORKDIR /app
# Install backend deps
COPY package*.json ./
RUN npm install --production
# Build frontend
COPY client/package*.json ./client/
RUN cd client && npm install
COPY client/ ./client/
RUN cd client && npm run build
# Copy backend source
COPY server.js db.js migrate.js ./
COPY routes/ ./routes/
# Run migrations then start server
CMD node migrate.js && node server.js