Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -20,7 +20,7 @@ RUN --mount=type=secret,id=apikey,mode=0444,required=true \
|
|
20 |
vim \
|
21 |
&& rm -rf /var/lib/apt/lists/*
|
22 |
|
23 |
-
ENV API_KEY
|
24 |
|
25 |
WORKDIR ${HOMEDIR}
|
26 |
|
|
|
20 |
vim \
|
21 |
&& rm -rf /var/lib/apt/lists/*
|
22 |
|
23 |
+
ENV API_KEY=$(cat /run/secrets/apikey)
|
24 |
|
25 |
WORKDIR ${HOMEDIR}
|
26 |
|