soiz1 commited on
Commit
d000144
·
verified ·
1 Parent(s): d76619e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -6,10 +6,12 @@ WORKDIR /app
6
 
7
  # ホストのファイルをコンテナにコピー
8
  COPY . .
 
9
 
10
  # translations ディレクトリを作成し、権限を設定
11
  RUN mkdir -p /app/translations && chmod -R 777 /app/translations
12
  RUN chmod -R 777 /app
 
13
 
14
  # 依存関係をインストール(競合を無視)
15
  RUN npm install --legacy-peer-deps
 
6
 
7
  # ホストのファイルをコンテナにコピー
8
  COPY . .
9
+ RUN apt-get update && apt-get install -y python3 python3-pip
10
 
11
  # translations ディレクトリを作成し、権限を設定
12
  RUN mkdir -p /app/translations && chmod -R 777 /app/translations
13
  RUN chmod -R 777 /app
14
+ CMD ["python3", "app.py"]
15
 
16
  # 依存関係をインストール(競合を無視)
17
  RUN npm install --legacy-peer-deps