bachephysicdun commited on
Commit
845ae1a
·
1 Parent(s): 6f96ca2

add run pinecond key command

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -5,8 +5,11 @@ RUN useradd -m -u 1000 user
5
  USER user
6
  # Add the user's local bin directory to the PATH
7
  ENV PATH="/home/user/.local/bin:$PATH"
 
8
  # Pass the secret variable to the application
9
  RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
 
 
10
  # Set the working directory in the container to /app
11
  WORKDIR /app
12
  # Copy the requirements.txt file from the host to the container
 
5
  USER user
6
  # Add the user's local bin directory to the PATH
7
  ENV PATH="/home/user/.local/bin:$PATH"
8
+
9
  # Pass the secret variable to the application
10
  RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
11
+ RUN --mount=type=secret,id=PINECONE_API_KEY,mode=0444,required=true
12
+
13
  # Set the working directory in the container to /app
14
  WORKDIR /app
15
  # Copy the requirements.txt file from the host to the container