| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'entrypoint_0.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_0.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_1.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_1.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Streamlit', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_2.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_2.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'entrypoint_3.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_3.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Django', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_4.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Django', 'work_directory': './', 'entrypoint_filename': 'entrypoint_5.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'entrypoint_6.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_6.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_7.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_7.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Django', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_8.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_9.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'entrypoint_10.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_10.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Streamlit', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_11.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_11.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_12.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_12.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_13.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'entrypoint_14.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_14.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'entrypoint_15.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_15.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'entrypoint_16.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_16.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_17.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_18.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_19.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_19.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'entrypoint_20.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_20.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_21.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_21.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_22.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_22.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'entrypoint_23.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_23.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Streamlit', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_24.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_24.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_25.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'entrypoint_26.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_26.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Streamlit', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_27.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_27.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_28.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Django', 'work_directory': './', 'entrypoint_filename': 'entrypoint_29.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Streamlit', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_30.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_30.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'entrypoint_31.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_31.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'entrypoint_32.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_32.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'entrypoint_33.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_33.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'entrypoint_34.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_34.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'entrypoint_35.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_35.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_36.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_37.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"entrypoint_37.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Streamlit', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_38.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_38.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Streamlit', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_39.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"entrypoint_39.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_40.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Django', 'work_directory': './', 'entrypoint_filename': 'entrypoint_41.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'entrypoint_42.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Django', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_43.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'FastAPI', 'work_directory': '/src', 'entrypoint_filename': 'entrypoint_44.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"entrypoint_44.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'FastAPI', 'work_directory': '/src', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"checkreq.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'index.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"index.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"server.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"checkreq.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Streamlit', 'work_directory': '/app', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"run.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"app.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"main.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'FastAPI', 'work_directory': '/src', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"server.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'FastAPI', 'work_directory': '/src', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"main.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': '/src', 'entrypoint_filename': 'index.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'index.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"index.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': '/src', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"app.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'FastAPI', 'work_directory': '/src', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"run.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"checkreq.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Streamlit', 'work_directory': '/app', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"server.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"run.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"run.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'index.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"index.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"server.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'FastAPI', 'work_directory': './', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"server.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'index.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"server.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Streamlit', 'work_directory': '/app', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"app.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'index.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"index.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"checkreq.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"checkreq.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Django', 'work_directory': './', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"server.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Streamlit', 'work_directory': '/app', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"main.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'Django', 'work_directory': './', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.9.15', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9.15-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"checkreq.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'index.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /app\n# Copy the current directory contents into the container at /app\nCOPY . /app\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"server.py\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.8.16', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8.16-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"server.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'FastAPI', 'work_directory': '/src', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR /src\n# Copy the current directory contents into the container at /src\nCOPY . /src\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"uvicorn\", \"server.py:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Django', 'work_directory': './', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8000 available to the world outside this container\nEXPOSE 8000\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.7.15', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7.15-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\nCMD [\"streamlit\", \"run\", \"app.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': './', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n# Set the working directory in the container\nWORKDIR ./\n# Copy the current directory contents into the container at ./\nCOPY . ./\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n# Make port 5000 available to the world outside this container\nEXPOSE 5000\nCMD [\"flask\", \"run\", \"--host=0.0.0.0\", \"--port=5000\", \"run.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\n\n# Run checkreq.py when the container launches\nCMD [\"streamlit\", \"run\", \"checkreq.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n\n# Set the working directory in the container\nWORKDIR /src\n\n# Copy the current directory contents into the container at /src\nCOPY . /src\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"app.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'manage.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.8', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"uvicorn\", \"main:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.7', 'type_of_application': 'Dash', 'work_directory': '/project', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7-slim\n\n# Set the working directory in the container\nWORKDIR /project\n\n# Copy the current directory contents into the container at /project\nCOPY . /project\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8050\nEXPOSE 8050\n\n# Define entrypoint\nCMD [\"python\", \"app.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.6', 'type_of_application': 'Pyramid', 'work_directory': '/src', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.6-slim\n\n# Set the working directory in the container\nWORKDIR /src\n\n# Copy the current directory contents into the container at /src\nCOPY . /src\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 6543\nEXPOSE 6543\n\n# Define entrypoint\nCMD [\"python\", \"main.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.10', 'type_of_application': 'Quart', 'work_directory': '/app', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"main.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.8', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"server.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'Streamlit', 'work_directory': '/code', 'entrypoint_filename': 'dashboard.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /code\n\n# Copy the current directory contents into the container at /code\nCOPY . /code\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\n\n# Run dashboard.py when the container launches\nCMD [\"streamlit\", \"run\", \"dashboard.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.11', 'type_of_application': 'FastAPI', 'work_directory': './service', 'entrypoint_filename': 'api.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11-slim\n\n# Set the working directory in the container\nWORKDIR /service\n\n# Copy the current directory contents into the container at /service\nCOPY . /service\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"uvicorn\", \"api:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Streamlit', 'work_directory': './', 'entrypoint_filename': 'checkreq.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\n\n# Run checkreq.py when the container launches\nCMD [\"streamlit\", \"run\", \"checkreq.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.10.8', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10.8-slim\n\n# Set the working directory in the container\nWORKDIR /src\n\n# Copy the current directory contents into the container at /src\nCOPY . /src\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"app.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'Django', 'work_directory': '/app', 'entrypoint_filename': 'manage.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.8', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"uvicorn\", \"main:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.7', 'type_of_application': 'Dash', 'work_directory': '/project', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7-slim\n\n# Set the working directory in the container\nWORKDIR /project\n\n# Copy the current directory contents into the container at /project\nCOPY . /project\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8050\nEXPOSE 8050\n\n# Define entrypoint\nCMD [\"python\", \"app.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.6', 'type_of_application': 'Pyramid', 'work_directory': '/src', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.6-slim\n\n# Set the working directory in the container\nWORKDIR /src\n\n# Copy the current directory contents into the container at /src\nCOPY . /src\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 6543\nEXPOSE 6543\n\n# Define entrypoint\nCMD [\"python\", \"main.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.10', 'type_of_application': 'Quart', 'work_directory': '/app', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"main.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.8', 'type_of_application': 'Flask', 'work_directory': '/app', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"server.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'Streamlit', 'work_directory': '/code', 'entrypoint_filename': 'dashboard.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /code\n\n# Copy the current directory contents into the container at /code\nCOPY . /code\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Make port 8501 available to the world outside this container\nEXPOSE 8501\n\n# Run dashboard.py when the container launches\nCMD [\"streamlit\", \"run\", \"dashboard.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.11', 'type_of_application': 'FastAPI', 'work_directory': './service', 'entrypoint_filename': 'api.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11-slim\n\n# Set the working directory in the container\nWORKDIR /service\n\n# Copy the current directory contents into the container at /service\nCOPY . /service\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"uvicorn\", \"api:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.11.9', 'type_of_application': 'Flask', 'work_directory': './src', 'entrypoint_filename': 'start.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11.9-slim\n\n# Set the working directory in the container\nWORKDIR /src\n\n# Copy the current directory contents into the container at /src\nCOPY . /src\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"start.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.7', 'type_of_application': 'Django', 'work_directory': '/myapp', 'entrypoint_filename': 'manage.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7-slim\n\n# Set the working directory in the container\nWORKDIR /myapp\n\n# Copy the current directory contents into the container at /myapp\nCOPY . /myapp\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.10', 'type_of_application': 'Dash', 'work_directory': '/project', 'entrypoint_filename': 'dashboard.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10-slim\n\n# Set the working directory in the container\nWORKDIR /project\n\n# Copy the current directory contents into the container at /project\nCOPY . /project\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8050\nEXPOSE 8050\n\n# Define entrypoint\nCMD [\"python\", \"dashboard.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'FastAPI', 'work_directory': '/app', 'entrypoint_filename': 'api.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"uvicorn\", \"api:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.6', 'type_of_application': 'Flask', 'work_directory': '/code', 'entrypoint_filename': 'run.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.6-slim\n\n# Set the working directory in the container\nWORKDIR /code\n\n# Copy the current directory contents into the container at /code\nCOPY . /code\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"run.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'Streamlit', 'work_directory': '/dashboard', 'entrypoint_filename': 'main_dashboard.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /dashboard\n\n# Copy the current directory contents into the container at /dashboard\nCOPY . /dashboard\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8501\nEXPOSE 8501\n\n# Define entrypoint\nCMD [\"streamlit\", \"run\", \"main_dashboard.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.11', 'type_of_application': 'FastAPI', 'work_directory': '/src', 'entrypoint_filename': 'service.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11-slim\n\n# Set the working directory in the container\nWORKDIR /src\n\n# Copy the current directory contents into the container at /src\nCOPY . /src\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"uvicorn\", \"service:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.8', 'type_of_application': 'Flask', 'work_directory': '/src', 'entrypoint_filename': 'main.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.8-slim\n\n# Set the working directory in the container\nWORKDIR /src\n\n# Copy the current directory contents into the container at /src\nCOPY . /src\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"main.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'Django', 'work_directory': '/webapp', 'entrypoint_filename': 'manage.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /webapp\n\n# Copy the current directory contents into the container at /webapp\nCOPY . /webapp\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.10', 'type_of_application': 'Dash', 'work_directory': '/project', 'entrypoint_filename': 'dashboard.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.10-slim\n\n# Set the working directory in the container\nWORKDIR /project\n\n# Copy the current directory contents into the container at /project\nCOPY . /project\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8050\nEXPOSE 8050\n\n# Define entrypoint\nCMD [\"python\", \"dashboard.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.11', 'type_of_application': 'FastAPI', 'work_directory': '/api', 'entrypoint_filename': 'api.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.11-slim\n\n# Set the working directory in the container\nWORKDIR /api\n\n# Copy the current directory contents into the container at /api\nCOPY . /api\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8000\nEXPOSE 8000\n\n# Define entrypoint\nCMD [\"uvicorn\", \"api:app\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.7', 'type_of_application': 'Pyramid', 'work_directory': '/srv', 'entrypoint_filename': 'app.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.7-slim\n\n# Set the working directory in the container\nWORKDIR /srv\n\n# Copy the current directory contents into the container at /srv\nCOPY . /srv\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 6543\nEXPOSE 6543\n\n# Define entrypoint\nCMD [\"python\", \"app.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.6', 'type_of_application': 'Quart', 'work_directory': '/app', 'entrypoint_filename': 'server.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.6-slim\n\n# Set the working directory in the container\nWORKDIR /app\n\n# Copy the current directory contents into the container at /app\nCOPY . /app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 5000\nEXPOSE 5000\n\n# Define entrypoint\nCMD [\"python\", \"server.py\"]"} |
| {"prompt": "Generate a Dockerfile for 'python_version': '3.9', 'type_of_application': 'Streamlit', 'work_directory': '/dashboard', 'entrypoint_filename': 'app_streamlit.py'", "completion": "# Use an official Python runtime as a parent image\nFROM python:3.9-slim\n\n# Set the working directory in the container\nWORKDIR /dashboard\n\n# Copy the current directory contents into the container at /dashboard\nCOPY . /dashboard\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --no-cache-dir -r requirements.txt\n\n# Expose port 8501\nEXPOSE 8501\n\n# Define entrypoint\nCMD [\"streamlit\", \"run\", \"app_streamlit.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"]"} |
|
|