GouthamiKristam commited on
Commit
5b749fe
·
verified ·
1 Parent(s): c62aa94

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +17 -0
  2. requirements.txt +5 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a minimal base image with Python 3.9 installed
2
+ FROM python:3.9-slim
3
+
4
+ # Set the working directory inside the container to /app
5
+ WORKDIR /app
6
+
7
+ # Copy all files from the current directory on the host to the container's /app directory
8
+ COPY . .
9
+
10
+ # Install Python dependencies listed in requirements.txt
11
+ RUN pip install -r requirements.txt
12
+
13
+ # Expose port 5000 for the Flask application
14
+ EXPOSE 5000
15
+
16
+ # Define the command to run the Flask application
17
+ CMD ["python", "app.py"]
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ flask
2
+ Flask
3
+ joblib
4
+ pandas
5
+ numpy