Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile-upstream:master-labs
FROM python:3.10 as builder

ADD https://github.com/flipperdevices/flipperzero_protobuf_py.git#main /build
WORKDIR /build
RUN pip3 install -r requirements.txt
RUN mkdir -p /wheels && pip3 wheel --wheel-dir=/wheels .

FROM python:3.10-slim

WORKDIR /app

RUN --mount=type=bind,from=builder,source=/wheels,target=/wheels pip3 install --no-index --find-links=/wheels flipperzero_protobuf

ENTRYPOINT ["/usr/local/bin/flipperCmd"]