powered by
Write a Dockerfile object to a dockerfile
# S4 method for Dockerfile write(x, file = file.path(getwd(), "Dockerfile"))
Dockerfile object to be serialized
optional argument specifying a costum file path
# NOT RUN { # write a dockerfile with default parameters to temporary file and show content: temp = tempfile() write(dockerfile(), file=temp) print(readLines(temp)) # }
Run the code above in your browser using DataLab