lgfunderburk commited on
Commit
aeefc1e
1 Parent(s): 7d82335

add header

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -3
  2. app.py +1 -0
Dockerfile CHANGED
@@ -14,9 +14,6 @@ RUN pip install poetry
14
  RUN poetry lock
15
  RUN poetry install
16
 
17
- # Copy the .env file
18
- COPY .env .env
19
-
20
  # Copy the rest of the application code
21
  COPY . .
22
 
 
14
  RUN poetry lock
15
  RUN poetry install
16
 
 
 
 
17
  # Copy the rest of the application code
18
  COPY . .
19
 
app.py CHANGED
@@ -11,6 +11,7 @@ from haystack.pipelines import Pipeline
11
 
12
  # Load environment variables (if any)
13
  load_dotenv(".env")
 
14
  MY_API_KEY = os.getenv("OPENAI_API_KEY")
15
 
16
  # Initialize Haystack's QA system
 
11
 
12
  # Load environment variables (if any)
13
  load_dotenv(".env")
14
+ load_dotenv()
15
  MY_API_KEY = os.getenv("OPENAI_API_KEY")
16
 
17
  # Initialize Haystack's QA system