Files
helsinki/Pt12/part12-containers-applications/todo-app/todo-frontend/docker-compose.dev.yml
T
2024-09-30 15:32:50 +03:00

12 lines
409 B
YAML
Executable File

services:
app:
image: todo-front-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:5173
container_name: todo-front