set_expose.Rd
Set which ports the docker image can expose, and what protocols to use
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
#> $EXPOSE #> [1] "8080/tcp" #> #> $` ` #> [1] "" #>