Files
tobiichiGPT/human-gpt/Dockerfile
2025-12-20 12:16:48 +08:00

19 lines
287 B
Docker

FROM python:3.11-slim
WORKDIR /app
# 複製依賴檔案
COPY requirements.txt .
# 安裝依賴
RUN pip install --no-cache-dir -r requirements.txt
# 複製程式檔案
COPY human_reply_server.py .
# 暴露端口
EXPOSE 8000
# 啟動伺服器
CMD ["python", "human_reply_server.py"]