update docker file create
Browse files1372 unmodified lines13731374137513761377137813791380138113821383138413851386138713881372 unmodified linesreq_path = os.path.join(temp_dir, "requirements.txt")with open(req_path, "w") as f:f.write(reqs)# 2. Write Dockerfile (EXACT content as screenshot, no escaping)dockerfile_content = '''FROM python:3.9-slimWORKDIR /appRUN apt-get update && apt-get install -y \build-essential \curl \software-properties-common \git \&& rm -rf /var/lib/apt/lists/*COPY requirements.txt ./1372 unmodified lines13731374137513761377137813791380138113821383138413851386138713881372 unmodified linesreq_path = os.path.join(temp_dir, "requirements.txt")with open(req_path, "w") as f:f.write(reqs)# 2. Write Dockerfile (EXACT content as screenshot, with proper line breaks)dockerfile_content = '''FROM python:3.9-slimWORKDIR /appRUN apt-get update && apt-get install -y \\build-essential \\curl \\software-properties-common \\git \\&& rm -rf /var/lib/apt/lists/*COPY requirements.txt ./
app.py+6-6