Files
chorus-services-website/Dockerfile.dev
anthonyrawlins f343f89d24 Initial commit: CHORUS Services marketing website
Complete Next.js website with Docker containerization:
- Next.js 14 with TypeScript and Tailwind CSS
- Responsive design with modern UI components
- Hero section, features showcase, testimonials
- FAQ section with comprehensive content
- Contact forms and newsletter signup
- Docker production build with Nginx
- Health checks and monitoring support
- SEO optimization and performance tuning

Ready for integration as git submodule in main CHORUS project.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 22:45:06 +10:00

38 lines
862 B
Docker

# CHORUS Services Website - Development Dockerfile
# Optimized for development with hot reloading and debugging
FROM node:18-alpine AS base
RUN apk add --no-cache libc6-compat curl
WORKDIR /app
# Development stage
FROM base AS development
# Install dependencies
COPY package.json package-lock.json* ./
RUN npm ci && npm cache clean --force
# Copy source code
COPY . .
# Create non-root user for security
RUN addgroup --system --gid 1001 nodejs && \
adduser --system --uid 1001 nextjs && \
chown -R nextjs:nodejs /app
USER nextjs
# Environment variables
ENV NODE_ENV=development
ENV NEXT_TELEMETRY_DISABLED=1
ENV PORT=3000
# Expose ports
EXPOSE 3000 3001
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
CMD curl -f http://localhost:3000/ || exit 1
# Start development server
CMD ["npm", "run", "dev"]