GPTfree api commited on
Commit
facbfba
·
verified ·
1 Parent(s): bb52c72

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -14,6 +14,10 @@ WORKDIR /app
14
  # Gitリポジトリをクローン
15
  RUN git clone https://github.com/JVT038/metatube .
16
 
 
 
 
 
17
  # 仮想環境のセットアップ(省略可能だが一般的には推奨される)
18
  RUN python -m venv venv
19
 
 
14
  # Gitリポジトリをクローン
15
  RUN git clone https://github.com/JVT038/metatube .
16
 
17
+ # SQLite データベースディレクトリを作成し、適切な権限を設定
18
+ RUN mkdir -p /app/metatube/migrations/versions \
19
+ && chmod -R 777 /app/metatube
20
+
21
  # 仮想環境のセットアップ(省略可能だが一般的には推奨される)
22
  RUN python -m venv venv
23