feature/precode (#2)
- Implent support to play precoded files - Implement a basic client -server architecture Reviewed-on: https://gitea.pstruebi.xyz/auracaster/bumble-auracast/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
# TODO: investigate using -alpine in the future
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY ./pyproject.toml .
|
||||
COPY ./src/ .
|
||||
|
||||
RUN sed /^StrictHostKeyChecking/d /etc/ssh/ssh_config; \
|
||||
echo StrictHostKeyChecking no >> /etc/ssh/ssh_config
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache \
|
||||
--mount=type=ssh,required=true \
|
||||
pip install ./
|
||||
|
||||
# make sure to install sudo apt install docker-buildx
|
||||
# make sure to set IdentityFile /home/pstruebi/.ssh/id_ed25519 in ~/.ssh/config -maybe not nececcary
|
||||
# example build commands:
|
||||
|
||||
# docker build --ssh default .
|
||||
# docker build --ssh default=~/.ssh/id_rsa .
|
||||
# docker build --ssh default -t bumble-auracast:latest .
|
||||
|
||||
# example run commands
|
||||
# interactive:
|
||||
# docker run --rm -it --device /dev/serial/by-id/usb-ZEPHYR_Zephyr_HCI_UART_sample_81BD14B8D71B5662-if00 bumble-auracast bash
|
||||
Reference in New Issue
Block a user