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.
11 lines
138 B
Docker
11 lines
138 B
Docker
FROM alpine
|
|
RUN apk add --no-cache \
|
|
python3 \
|
|
py3-yaml \
|
|
graphviz
|
|
|
|
COPY run.sh /run.sh
|
|
RUN chmod +x /run.sh
|
|
|
|
CMD ["/run.sh"]
|