Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -21,7 +21,7 @@ RUN pip install openai llama_index chainlit python-dotenv vecs nltk deeplake tra
|
|
| 21 |
# Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
|
| 22 |
|
| 23 |
RUN --mount=type=secret,id=open_ai,mode=0444,required=true \
|
| 24 |
-
cat /run/secrets/
|
| 25 |
|
| 26 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 27 |
COPY --chown=user . $HOME/app
|
|
|
|
| 21 |
# Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
|
| 22 |
|
| 23 |
RUN --mount=type=secret,id=open_ai,mode=0444,required=true \
|
| 24 |
+
cat /run/secrets/open_ai > $HOME/app/app.py
|
| 25 |
|
| 26 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 27 |
COPY --chown=user . $HOME/app
|