-
-
Save r37r0m0d3l/ef836d032fbd47cd776d588a5e66c32d to your computer and use it in GitHub Desktop.
Running R scripts in a Docker container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM r-base:latest | |
| COPY . /usr/local/src/myscripts | |
| WORKDIR /usr/local/src/myscripts | |
| CMD ["Rscript", "myscript.R"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print('Hello, world!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment