Sign inSign up

andy25lion/octoprint

By andy25lion

•Updated over 6 years ago

Image
0

360

andy25lion/octoprint repository overview

⁠Run example:

docker run --device /dev/ttyUSB0:/dev/ttyUSB0 -v /data/home-octoprint/.octoprint:/root/.octoprint -p 4000:5000 --name octopi --restart always -d andy25lion/octoprint

⁠Dockerfile:

FROM alpine:3

RUN apk update 
RUN apk add --no-cache py3-pip python3-dev py3-setuptools git 
RUN pip3 install --upgrade pip
RUN apk add --no-cache yaml-dev linux-headers gcc libc-dev

RUN mkdir /octoprint
WORKDIR /octoprint
RUN git clone https://github.com/foosel/OctoPrint.git ./
RUN pip install -r requirements.txt --no-cache-dir
RUN python3 setup.py install
RUN mkdir /root/.octoprint

RUN apk add --no-cache ffmpeg

CMD /usr/bin/octoprint --iknowwhatimdoing

Tag summary

Content type

Image

Digest

Size

173.8 MB

Last updated

over 6 years ago

docker pull andy25lion/octoprint