rasmodev commited on
Commit
bbd54bf
1 Parent(s): d12cbb9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -10,8 +10,11 @@ COPY ./requirements.txt /app/requirements.txt
10
  # Install the Python dependencies
11
  RUN pip install -r /app/requirements.txt
12
 
13
- # Copy all other relevant files into the work directory
14
- COPY . .
 
 
 
15
 
16
  # Expose port 8000 for the FastAPI application
17
  EXPOSE 8000
 
10
  # Install the Python dependencies
11
  RUN pip install -r /app/requirements.txt
12
 
13
+ # Copy your FastAPI application code into the container
14
+ COPY ./app.py /app/app.py
15
+
16
+ # Copy the model and key components into the container
17
+ COPY ./model_and_key_components.pkl /app/model_and_key_components.pkl
18
 
19
  # Expose port 8000 for the FastAPI application
20
  EXPOSE 8000