OzoneAsai commited on
Commit
6c15fb2
·
verified ·
1 Parent(s): 633ba08

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]