Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -42,8 +42,8 @@ COPY src/BrainIAC/hdbet_model /app/BrainIAC/hdbet_model
|
|
42 |
# Copy the model checkpoint
|
43 |
COPY src/BrainIAC/checkpoints/brainage_model_latest.pt /app/BrainIAC/checkpoints/brainage_model_latest.pt
|
44 |
|
45 |
-
# Make port
|
46 |
-
EXPOSE
|
47 |
|
48 |
-
# Run
|
49 |
-
CMD ["
|
|
|
42 |
# Copy the model checkpoint
|
43 |
COPY src/BrainIAC/checkpoints/brainage_model_latest.pt /app/BrainIAC/checkpoints/brainage_model_latest.pt
|
44 |
|
45 |
+
# Make port 7860 available (for Gradio)
|
46 |
+
EXPOSE 7860
|
47 |
|
48 |
+
# Run app_gradio.py when the container launches using python
|
49 |
+
CMD ["python", "/app/BrainIAC/app_gradio.py"]
|