deafgain-website/Dockerfile.dev
TheMaddax 14fb61aab9 Development environment:
- Added Dockerfile.dev for local development
- Configured volume mounts for hot reloading
- Set up Vite dev server with proper host binding

Production environment:
- Streamlined multi-stage build process
- Removed Nginx in favor of future Caddy setup
- Optimized container size and build steps
2024-11-30 02:10:00 -06:00

14 lines
197 B
Text

FROM node:20-alpine
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml* ./
RUN pnpm install
COPY . .
EXPOSE 3000
CMD ["pnpm", "dev"]