1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-11-15 03:09:20 +01:00
scope-tui/Dockerfile
CodexHere 655598e807 Feature: Dockerize project
* Added Dockerfile to build project
* Added docker-compose.yml for easy container orchestration
* Added helper shell script docker_start.sh to easily start and attach the container.
* Added dockerignore file to avoid over-including files.
* Minor update to README to include docker information.
2024-03-12 19:57:46 -05:00

18 lines
322 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 build
ENTRYPOINT ["/app/target/release/scope-tui"]
CMD ["pulse"]