diff --git a/Dockerfile b/Dockerfile index c96960c..29011b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -86,5 +86,7 @@ RUN rm -f /bin/systemctl COPY start.py / COPY runklipper.py / +COPY start.sh / +COPY printer.cfg / -CMD ["/start.py"] +CMD bash /start.sh diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..60fbff3 --- /dev/null +++ b/start.sh @@ -0,0 +1,2 @@ +cp -n /printer.cfg /home/octoprint/.octoprint/printer.cfg +python3 /start.py \ No newline at end of file