powered by
Create the dockerfile required to run the application. The dockerfile created will install packages from RStudio Public Package Manager which comes with pre-built binaries that much improve the speed of building of Dockerfiles.
create_dockerfile(port, host = "0.0.0.0", file_path)
NULL (invisibly)
NULL
Port and host to serve the application.
String. Path to file to write to.
Reads the DESCRIPTION file of the project to produce the Dockerfile.
DESCRIPTION
Dockerfile
if (interactive()) { create_dockerfile(port = 5000L, host = "0.0.0.0", file_path = tempfile()) # create_dockerfile(port = 5000L, host = "0.0.0.0", file_path = "Dockerfile") }
Run the code above in your browser using DataLab