mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-28 06:42:56 +00:00
24 lines
716 B
YAML
24 lines
716 B
YAML
services:
|
|
bolt-app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
# Add any other environment variables your app needs
|
|
# - OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
# - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
|
# - GROQ_API_KEY=${GROQ_API_KEY}
|
|
# - OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY}
|
|
volumes:
|
|
# This volume is for development purposes, allowing live code updates
|
|
# Comment out or remove for production
|
|
- .:/app
|
|
# This volume is to prevent node_modules from being overwritten by the above volume
|
|
- /app/node_modules
|
|
command: pnpm run start
|
|
|
|
volumes:
|
|
node_modules: |