Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -54,7 +54,7 @@ RUN pip3 install --no-cache-dir --user -r requirements.txt
|
|
| 54 |
COPY --chown=user . $HOME/app
|
| 55 |
|
| 56 |
# Example: Use secret API_KEY for a command
|
| 57 |
-
RUN --mount=type=secret,id=
|
| 58 |
|
| 59 |
# Make port 7860 available to the world outside this container
|
| 60 |
EXPOSE 7860
|
|
|
|
| 54 |
COPY --chown=user . $HOME/app
|
| 55 |
|
| 56 |
# Example: Use secret API_KEY for a command
|
| 57 |
+
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
|
| 58 |
|
| 59 |
# Make port 7860 available to the world outside this container
|
| 60 |
EXPOSE 7860
|