first commit
This commit is contained in:
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
web-dev:
|
||||
build:
|
||||
context: .
|
||||
target: dev
|
||||
ports:
|
||||
- "3000:3000"
|
||||
env_file:
|
||||
- .env.local
|
||||
volumes:
|
||||
- .:/app
|
||||
- web_node_modules:/app/node_modules
|
||||
- web_next_cache:/app/.next
|
||||
|
||||
web-prod:
|
||||
build:
|
||||
context: .
|
||||
target: runner
|
||||
ports:
|
||||
- "3000:3000"
|
||||
env_file:
|
||||
- .env.local
|
||||
|
||||
volumes:
|
||||
web_node_modules:
|
||||
web_next_cache:
|
||||
|
||||
Reference in New Issue
Block a user