mirror of
https://github.com/alemidev/scope-tui.git
synced 2024-11-15 03:09:20 +01:00
655598e807
* 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.
18 lines
322 B
Docker
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"]
|