kodato-chatGPT / Dockerfile
kohkiy's picture
Upload folder using huggingface_hub
526aaac
raw
history blame contribute delete
No virus
438 Bytes
# Python 3.8をベースにする
FROM python:3.8
# ワーキングディレクトリを設定
WORKDIR /app
# 必要なパッケージをインストール
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN pip install --upgrade openai
# Pythonスクリプトをコピー
COPY . .
# デプロイするポートを指定
# EXPOSE 8080
# プログラムを実行
CMD [ "python", "./main.py" ]