1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 15:28:06 +02:00

Allows changes to the app repository to be reflected in the container's repository

Enables hot-reloading in the Django repository, providing an enviroment that suits better to a developing enviroment.

Signed-off-by: Jeferson Melo <jefersonmedeiros000@gmail.com>
This commit is contained in:
Jeferson Melo 2023-02-07 20:01:52 -03:00
parent e6b1d2755f
commit 386ad0e112

View file

@ -3,5 +3,7 @@ services:
build:
context: app
target: builder
volumes:
- ./app:/app
ports:
- '8000:8000'
- '8000:8000'