Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -24,5 +24,7 @@ RUN chmod -R 777 ./flashcards
|
|
24 |
|
25 |
RUN cd ./flashcards
|
26 |
WORKDIR /code/flashcards
|
|
|
|
|
27 |
# アプリケーションの起動
|
28 |
CMD ["python3", "app.py"]
|
|
|
24 |
|
25 |
RUN cd ./flashcards
|
26 |
WORKDIR /code/flashcards
|
27 |
+
RUN echo "GEMINI_API_KEY=$(cat /run/secrets/GEMINI_API_KEY)" >> .env
|
28 |
+
|
29 |
# アプリケーションの起動
|
30 |
CMD ["python3", "app.py"]
|