Spaces:
Sleeping
Sleeping
Disable buffering in docker container
Browse filesThis allows us to view the logs in real time
- dockerfile +3 -0
dockerfile
CHANGED
@@ -7,6 +7,9 @@ RUN python3 -m pip install -r /opt/whisper-webui/requirements.txt
|
|
7 |
# Note: Models will be downloaded on demand to the directory /root/.cache/whisper.
|
8 |
# You can also bind this directory in the container to somewhere on the host.
|
9 |
|
|
|
|
|
|
|
10 |
WORKDIR /opt/whisper-webui/
|
11 |
ENTRYPOINT ["python3"]
|
12 |
CMD ["app-network.py"]
|
|
|
7 |
# Note: Models will be downloaded on demand to the directory /root/.cache/whisper.
|
8 |
# You can also bind this directory in the container to somewhere on the host.
|
9 |
|
10 |
+
# To be able to see logs in real time
|
11 |
+
ENV PYTHONUNBUFFERED=1
|
12 |
+
|
13 |
WORKDIR /opt/whisper-webui/
|
14 |
ENTRYPOINT ["python3"]
|
15 |
CMD ["app-network.py"]
|