Spaces:
Sleeping
Sleeping
File size: 530 Bytes
f888423 0b48c55 f888423 0b48c55 f888423 0b48c55 f888423 0b48c55 f888423 0b48c55 f888423 0ad3339 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
FROM rocker/shiny-verse:4.3.0
# Workaround for renv cache
RUN mkdir /.cache
RUN chmod 777 /.cache
WORKDIR /code
# Install renv
RUN install2.r --error \
renv
# Copy application code
COPY renv.lock .
# Install dependencies
RUN Rscript -e 'options(renv.config.cache.enabled = FALSE); renv::restore(prompt = FALSE)'
COPY data/ ./data/
COPY app.R .
COPY config.yml .
COPY rhino.yml .
COPY app/ ./app/
RUN ls -lah ./data/
RUN mkdir -p ./app_cache/sass
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|