imseldrith commited on
Commit
e0718c3
1 Parent(s): 10c8772

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -16,6 +16,9 @@ USER appuser
16
  WORKDIR /home/appuser/app
17
  RUN mkdir -p voices config
18
 
 
 
 
19
  ARG USE_ROCM
20
  ENV USE_ROCM=${USE_ROCM}
21
 
@@ -23,6 +26,7 @@ COPY requirements*.txt /home/appuser/app/
23
  RUN --mount=type=cache,target=/home/appuser/.cache/pip pip install -r requirements.txt
24
 
25
  COPY *.py *.sh *.default.yaml README.md LICENSE /home/appuser/app/
 
26
 
27
  ARG PRELOAD_MODEL
28
  ENV PRELOAD_MODEL=${PRELOAD_MODEL}
 
16
  WORKDIR /home/appuser/app
17
  RUN mkdir -p voices config
18
 
19
+ # Install piper
20
+ RUN --mount=type=cache,target=/home/appuser/.cache/pip pip install piper
21
+
22
  ARG USE_ROCM
23
  ENV USE_ROCM=${USE_ROCM}
24
 
 
26
  RUN --mount=type=cache,target=/home/appuser/.cache/pip pip install -r requirements.txt
27
 
28
  COPY *.py *.sh *.default.yaml README.md LICENSE /home/appuser/app/
29
+ RUN chmod +x *.sh # Ensure scripts are executable
30
 
31
  ARG PRELOAD_MODEL
32
  ENV PRELOAD_MODEL=${PRELOAD_MODEL}