Spaces:
Build error
Build error
Update Dockerfile
#1
by rasmodev - opened
- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,9 @@ COPY app.py /app/app.py
|
|
| 16 |
# Copy application files
|
| 17 |
COPY trained_model.pkl /app/trained_model.pkl
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# Expose the default Streamlit port
|
| 20 |
EXPOSE 7860
|
| 21 |
|
|
|
|
| 16 |
# Copy application files
|
| 17 |
COPY trained_model.pkl /app/trained_model.pkl
|
| 18 |
|
| 19 |
+
# Set appropriate permissions for the model file
|
| 20 |
+
RUN chmod 644 /app/trained_model.pkl
|
| 21 |
+
|
| 22 |
# Expose the default Streamlit port
|
| 23 |
EXPOSE 7860
|
| 24 |
|