ajouter les cloches dans l'image Docker

This commit is contained in:
Francois Pelletier 2023-05-08 11:45:58 -04:00
parent e67b5fb4b0
commit 91d941295c
2 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,10 @@ WORKDIR /app
RUN pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy Sounds
ADD bell /app/bell
COPY *.py ./
RUN python install.py

View file

@ -21,5 +21,4 @@ docker rm breathaudio-backend
# Ce programme sert à lancer le breathaudio-backend dans un docker localement pour tester
docker run -p 8052:8052 --name breathaudio-backend --network host \
--volume "${PWD}/tmp_sound":"/app/tmp_sound" \
--volume "${PWD}/bell":"/app/bell" \
local/breathaudio-backend