HirCoir commited on
Commit
ef1fc0e
·
verified ·
1 Parent(s): 5266c2e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,10 +20,10 @@ RUN mv /home/app/*.onnx* /home/app/models
20
  COPY --chown=app:app index.html /home/app/templates/index.html
21
 
22
  # Descarga el archivo tar.gz
23
- RUN wget https://github.com/rhasspy/piper/releases/download/2023.11.14-2/piper_linux_x86_64.tar.gz
24
 
25
  # Extrae el contenido del archivo tar.gz y renombra el binario si es necesario
26
- RUN tar xvf piper_linux_x86_64.tar.gz && \
27
  rm -rf piper_temp piper_linux_x86_64.tar.gz
28
  # Expone el puerto en el que Flask se ejecutará dentro del contenedor
29
  EXPOSE 7860
 
20
  COPY --chown=app:app index.html /home/app/templates/index.html
21
 
22
  # Descarga el archivo tar.gz
23
+ RUN cd /home/app/; wget https://github.com/rhasspy/piper/releases/download/2023.11.14-2/piper_linux_x86_64.tar.gz
24
 
25
  # Extrae el contenido del archivo tar.gz y renombra el binario si es necesario
26
+ RUN cd /home/app/; tar xvf piper_linux_x86_64.tar.gz && \
27
  rm -rf piper_temp piper_linux_x86_64.tar.gz
28
  # Expone el puerto en el que Flask se ejecutará dentro del contenedor
29
  EXPOSE 7860