Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -8
Dockerfile
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
|
|
| 1 |
FROM huggingface/autotrain-advanced:latest
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
# If you have a requirements.txt for other dependencies, copy and install them:
|
| 10 |
-
# COPY requirements.txt .
|
| 11 |
-
# RUN pip install -r requirements.txt
|
|
|
|
| 1 |
+
# 🧠 Use the official AutoTrain Advanced base image
|
| 2 |
FROM huggingface/autotrain-advanced:latest
|
| 3 |
|
| 4 |
+
# 🚀 Expose required port for web UI
|
| 5 |
+
EXPOSE 7860
|
| 6 |
|
| 7 |
+
# 🏃 Start the AutoTrain UI when the container launches
|
| 8 |
+
CMD ["autotrain", "app", "start"]
|
|
|
|
|
|
|
|
|
|
|
|