memopenaws commited on
Commit
d46f65f
·
verified ·
1 Parent(s): bcbdb0a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -3,8 +3,12 @@ FROM python:3.9-slim
3
  # Set the working directory inside the container
4
  WORKDIR /app
5
 
6
- # Copy the backend_files directory and its contents to the container's working directory
7
- COPY backend_files /app/backend_files
 
 
 
 
8
 
9
  # Install dependencies from the requirements file without using cache to reduce image size
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
3
  # Set the working directory inside the container
4
  WORKDIR /app
5
 
6
+ # Copy necessary files from the root of the repository to the container's working directory
7
+ COPY backend_files/app.py /app/
8
+ COPY backend_files/random_forest.joblib /app/
9
+ COPY backend_files/requirements.txt /app/
10
+ COPY backend_files/Dockerfile /app/
11
+
12
 
13
  # Install dependencies from the requirements file without using cache to reduce image size
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt