Description Usage Arguments Value Examples
Set which ports the docker image can expose, and what protocols to use
1 | set_expose(dockerfile, port, protocol = c("tcp"))
|
dockerfile, |
an object of class |
port |
the port to expose |
protocol |
charater vector of protocols to use. Defalts to 'tcp', but can take on 'tcp' or 'udp' |
dockerfile
1 2 | dockerfile() %>%
set_expose(8080)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.