hamxahbhattii commited on
Commit
d180bf0
1 Parent(s): 16e0603

Env modified

Browse files
Files changed (2) hide show
  1. .env +2 -2
  2. Dockerfile +2 -3
.env CHANGED
@@ -1,6 +1,6 @@
1
  OPENAI_API_KEY = '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'
2
- DATA_DIRECTORY = '/code/Data/Policies'
3
- VECTOR_STORE_DIRCTORY = "/code/Vector Store"
4
  VECTOR_STORE_CHECK = False # Used to create new or load old vectorstore
5
  DEBUG = True
6
  USE_HYDE = False
 
1
  OPENAI_API_KEY = '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'
2
+ DATA_DIRECTORY = './Data/Policies'
3
+ VECTOR_STORE_DIRCTORY = "./Vector Store"
4
  VECTOR_STORE_CHECK = False # Used to create new or load old vectorstore
5
  DEBUG = True
6
  USE_HYDE = False
Dockerfile CHANGED
@@ -5,9 +5,6 @@ WORKDIR /code
5
 
6
  COPY --chown=user ./requirements.txt /code/requirements.txt
7
 
8
- COPY --chown=user ./Data /code/Data
9
- COPY --chown=user ./Vector_Store /code/Vector_Store
10
-
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
 
13
  RUN useradd -m -u 1000 user
@@ -15,6 +12,8 @@ USER user
15
  ENV HOME=/home/user \
16
  PATH=/home/user/.local/bin:$PATH
17
 
 
 
18
  WORKDIR $HOME/app
19
 
20
  COPY --chown=user . $HOME/app
 
5
 
6
  COPY --chown=user ./requirements.txt /code/requirements.txt
7
 
 
 
 
8
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
 
10
  RUN useradd -m -u 1000 user
 
12
  ENV HOME=/home/user \
13
  PATH=/home/user/.local/bin:$PATH
14
 
15
+ COPY --chown=user ./Data $HOME/app/Data
16
+ COPY --chown=user ./Vector_Store $HOME/app/Vector_Store
17
  WORKDIR $HOME/app
18
 
19
  COPY --chown=user . $HOME/app