Spaces:
Sleeping
Sleeping
Add permission to write file
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -20,6 +20,8 @@ COPY wav2lip_gan.pth wav2lip/weights/wav2lip_gan.pth
|
|
20 |
|
21 |
# copy google credentials
|
22 |
RUN mkdir -p keys
|
|
|
|
|
23 |
ENV GOOGLE_APPLICATION_CREDENTIALS="keys/google-cloud-text-to-speech-key.json"
|
24 |
|
25 |
RUN chmod -R 755 /usr/local/lib/python3.9/site-packages/librosa
|
|
|
20 |
|
21 |
# copy google credentials
|
22 |
RUN mkdir -p keys
|
23 |
+
RUN chmod -R 777 /app/keys
|
24 |
+
|
25 |
ENV GOOGLE_APPLICATION_CREDENTIALS="keys/google-cloud-text-to-speech-key.json"
|
26 |
|
27 |
RUN chmod -R 755 /usr/local/lib/python3.9/site-packages/librosa
|