Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -23,6 +23,12 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
23 |
# Copy the rest of the application
|
24 |
COPY . .
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
# Expose the port the app runs on
|
27 |
EXPOSE 7860
|
28 |
|
|
|
23 |
# Copy the rest of the application
|
24 |
COPY . .
|
25 |
|
26 |
+
# Set environment variables for non-interactive execution
|
27 |
+
ENV PYTHONUNBUFFERED=1
|
28 |
+
ENV TRANSFORMERS_NO_ADVISORY_WARNINGS=1
|
29 |
+
ENV HF_HUB_DISABLE_PROGRESS_BARS=1
|
30 |
+
ENV HF_HUB_DISABLE_TELEMETRY=1
|
31 |
+
|
32 |
# Expose the port the app runs on
|
33 |
EXPOSE 7860
|
34 |
|