dockerized the project for dev
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
app:
|
||||
image: devcon-frontend-dev
|
||||
build:
|
||||
context: . # The context will pick this directory as the "build context"
|
||||
dockerfile: dev.Dockerfile # This will simply tell which dockerfile to read
|
||||
volumes:
|
||||
- ./:/usr/src/app # The path can be relative, so ./ is enough to say "the same location as the docker-compose.yml"
|
||||
ports:
|
||||
- 5173:3000
|
||||
container_name: devcon-front-dev
|
||||
Reference in New Issue
Block a user