Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -24,7 +24,7 @@ RUN chmod -R 777 ./flashcards
|
|
24 |
|
25 |
RUN cd ./flashcards
|
26 |
WORKDIR /code/flashcards
|
27 |
-
RUN --mount=type=secret,id=
|
28 |
echo "GEMINI_API_KEY=$(cat /run/secrets/GEMINI_API_KEY)" >> .env
|
29 |
|
30 |
# アプリケーションの起動
|
|
|
24 |
|
25 |
RUN cd ./flashcards
|
26 |
WORKDIR /code/flashcards
|
27 |
+
RUN --mount=type=secret,id=GEMINI_API_KEY,mode=0444,required=true \
|
28 |
echo "GEMINI_API_KEY=$(cat /run/secrets/GEMINI_API_KEY)" >> .env
|
29 |
|
30 |
# アプリケーションの起動
|