ImageProcessing / Dockerfile
plutosss's picture
Create Dockerfile
57ed26f verified
# 使用Python 3.10基础镜像
FROM python:3.10
# 设置工作目录
WORKDIR /app
# 复制依赖文件
COPY requirements.txt .
# 安装依赖
RUN pip install --no-cache-dir -r requirements.txt
# 复制应用代码
COPY . .
# 指定容器启动命令
CMD ["python", "your_script.py"] # 替换为你的启动脚本