Skip to content

Instantly share code, notes, and snippets.

@r37r0m0d3l
Forked from mjul/Dockerfile
Created August 3, 2020 08:20
Show Gist options
  • Select an option

  • Save r37r0m0d3l/ef836d032fbd47cd776d588a5e66c32d to your computer and use it in GitHub Desktop.

Select an option

Save r37r0m0d3l/ef836d032fbd47cd776d588a5e66c32d to your computer and use it in GitHub Desktop.
Running R scripts in a Docker container
FROM r-base:latest
COPY . /usr/local/src/myscripts
WORKDIR /usr/local/src/myscripts
CMD ["Rscript", "myscript.R"]
print('Hello, world!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment