working version

This commit is contained in:
root
2025-08-27 18:34:38 +02:00
parent b7a84a53aa
commit dfaae262c7
153 changed files with 19389 additions and 788 deletions

30
frontend/Dockerfile.dev Executable file
View File

@@ -0,0 +1,30 @@
FROM node:18-alpine
# Métadonnées
LABEL maintainer="LeDiscord Team"
LABEL version="1.0"
LABEL description="LeDiscord Frontend - Environnement Development"
WORKDIR /app
# Variables d'environnement pour le développement
ENV NODE_ENV=development
ENV VITE_ENVIRONMENT=development
# Copy package files first for better caching
COPY package*.json ./
# Install dependencies
RUN npm ci
# Copy application files
COPY . .
# Copy development environment file
COPY .env.development .env
# Expose port
EXPOSE 5173
# Run the application in development mode
CMD ["npm", "run", "dev"]