create_dockerfile {ambiorix} | R Documentation |
Dockerfile
Description
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.
Usage
create_dockerfile(port, host = "0.0.0.0", file_path)
Arguments
port , host |
Port and host to serve the application. |
file_path |
String. Path to file to write to. |
Details
Reads the DESCRIPTION
file of the project to produce the Dockerfile
.
Value
NULL
(invisibly)
Examples
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")
}
[Package ambiorix version 2.2.0 Index]