Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -36,6 +36,9 @@ ENTRYPOINT [ "rasa" ]
|
|
36 |
# Expose the port that the application listens on.
|
37 |
EXPOSE 7860
|
38 |
|
|
|
|
|
|
|
39 |
# Run the application.
|
40 |
#CMD ["run","--enable-api","--port","7860"]
|
41 |
|
|
|
36 |
# Expose the port that the application listens on.
|
37 |
EXPOSE 7860
|
38 |
|
39 |
+
# Get secret openai and mount it
|
40 |
+
RUN --mount=type=secret,id=openai,mode=0444,required=true
|
41 |
+
|
42 |
# Run the application.
|
43 |
#CMD ["run","--enable-api","--port","7860"]
|
44 |
|