1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-11-14 18:59:19 +01:00
scope-tui/Dockerfile

18 lines
333 B
Docker

FROM rust:1.76-bookworm
RUN \
apt update && \
apt install -y pulseaudio && \
apt-get clean autoclean && \
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \
mkdir /app && chown 1000:1000 /app
WORKDIR /app
USER 1000
COPY --chown=1000:1000 . /app
RUN cargo install --path .
ENTRYPOINT ["/app/target/release/scope-tui"]
CMD ["pulse"]