rasmodev commited on
Commit
9aed602
1 Parent(s): 3cf6e62

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -4,18 +4,18 @@ FROM python:3.11.3-slim
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
7
- # Copy your FastAPI application code into the container
8
- COPY ./app.py /app/app.py
9
-
10
- # Copy the model and key components into the container
11
- COPY ./model_and_key_components.pkl /app/model_and_key_components.pkl
12
-
13
  # Copy the requirements.txt file into the container
14
  COPY ./requirements.txt /app/requirements.txt
15
 
16
  # Install the Python dependencies
17
  RUN pip install -r /app/requirements.txt
18
 
 
 
 
 
 
 
19
  # Expose port 8000 for the FastAPI application
20
  EXPOSE 8000
21
 
 
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
 
 
 
 
 
 
7
  # Copy the requirements.txt file into the container
8
  COPY ./requirements.txt /app/requirements.txt
9
 
10
  # Install the Python dependencies
11
  RUN pip install -r /app/requirements.txt
12
 
13
+ # Copy the model and key components into the container
14
+ COPY ./model_and_key_components.pkl /app/model_and_key_components.pkl
15
+
16
+ # Copy the FastAPI application code into the container
17
+ COPY ./app.py /app/app.py
18
+
19
  # Expose port 8000 for the FastAPI application
20
  EXPOSE 8000
21