- 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
14 lines
No EOL
231 B
YAML
14 lines
No EOL
231 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
pull_policy: build
|
|
ports:
|
|
- "804:804"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=804
|
|
restart: unless-stopped |