Spaces:
Runtime error
Runtime error
Commit
·
aa00b0e
1
Parent(s):
b57a5c0
add ENV to dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -14,6 +14,9 @@ RUN install2.r --error \
|
|
14 |
glue \
|
15 |
httr2
|
16 |
|
|
|
|
|
|
|
17 |
COPY . .
|
18 |
|
19 |
# Change the ownership of the /code directory to appuser
|
|
|
14 |
glue \
|
15 |
httr2
|
16 |
|
17 |
+
# Set the environment variable for the secret
|
18 |
+
ENV OPENAI_API_KEY=${OPENAI_API_KEY}
|
19 |
+
|
20 |
COPY . .
|
21 |
|
22 |
# Change the ownership of the /code directory to appuser
|