akskhare commited on
Commit
c45af06
·
verified ·
1 Parent(s): 7bf7921

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,5 +1,8 @@
1
- # Use a minimal base image with Python 3.9 installed
2
- FROM python:3.9
 
 
 
3
 
4
  # Set the working directory inside the container to /app
5
  WORKDIR /app
 
1
+ # Use a minimal base image with Python 3.10 installed (updated from 3.9 for Streamlit compatibility)
2
+ FROM python:3.10
3
+
4
+ # Install system dependencies required for some Python packages (e.g., xgboost, scikit-learn)
5
+ RUN apt-get update && apt-get install -y build-essential libgomp1
6
 
7
  # Set the working directory inside the container to /app
8
  WORKDIR /app