Created execution script for the container image and moved code copy from Dockerfile to volume in compose. Now code changes don't require image rebuild.
12 lines
208 B
YAML
12 lines
208 B
YAML
services:
|
|
puudot:
|
|
restart: no
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: puudot:latest
|
|
volumes:
|
|
- ./code:/code
|
|
- ./data:/data
|
|
- ./config.yaml:/config.yaml
|