Add Docker configuration for deployment and fix Supabase types for contacts table

هذا الالتزام موجود في:
2025-10-29 15:31:19 +03:00
الأصل 39f346ecc8
التزام 2536eeceb4
8 ملفات معدلة مع 473 إضافات و632 حذوفات

20
Dockerfile.backend Normal file
عرض الملف

@@ -0,0 +1,20 @@
# Use Node.js alpine image
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Copy all files
COPY . .
# Expose port 3001
EXPOSE 3001
# Start the application
CMD ["node", "server.js"]