PlaylistGame / Dockerfile
OwenStOnge's picture
Update Dockerfile
1936035 verified
Raw
History Blame Contribute Delete
369 Bytes
FROM rocker/r2u:latest
WORKDIR /code
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
libcurl4-openssl-dev \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
RUN install2.r --error --skipinstalled \
shiny \
jsonlite
COPY . .
EXPOSE 7860
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]