add automatic default configuration upload
This commit is contained in:
parent
559e0f7575
commit
df5d019877
2 changed files with 5 additions and 1 deletions
|
@ -86,5 +86,7 @@ RUN rm -f /bin/systemctl
|
||||||
|
|
||||||
COPY start.py /
|
COPY start.py /
|
||||||
COPY runklipper.py /
|
COPY runklipper.py /
|
||||||
|
COPY start.sh /
|
||||||
|
COPY printer.cfg /
|
||||||
|
|
||||||
CMD ["/start.py"]
|
CMD bash /start.sh
|
||||||
|
|
2
start.sh
Normal file
2
start.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
cp -n /printer.cfg /home/octoprint/.octoprint/printer.cfg
|
||||||
|
python3 /start.py
|
Loading…
Add table
Add a link
Reference in a new issue