Add development configuration for marketing service in Docker and update frontend scripts

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-13 16:13:13 +00:00
parent ad9aba87d7
commit 5f5d1c91a8
8 changed files with 333 additions and 20 deletions

View File

@@ -0,0 +1,20 @@
# Marketing Development Dockerfile - Vite Dev Server with Hot Reload
FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code (will be mounted as volume, but needed for initial setup)
COPY . .
# Expose Vite dev server port
EXPOSE 5174
# Start Vite dev server for marketing site
CMD ["npm", "run", "dev:marketing"]