feat: Add Docker support with production and development configurations for backend and frontend

This commit is contained in:
MayaTheShy
2026-02-16 00:08:49 -05:00
parent a6edc0934c
commit 30647fca50
9 changed files with 580 additions and 1 deletions

19
client/Dockerfile.dev Normal file
View File

@@ -0,0 +1,19 @@
# Development Dockerfile with hot reload
FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Expose Vite dev server port
EXPOSE 3000
# Start Vite dev server
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]