gptneox-chat / Dockerfile
dfalbel's picture
Improve error handling.
896d280 unverified
raw
history blame
596 Bytes
FROM rocker/shiny-verse:latest
WORKDIR /code
# Install stable packages from CRAN
RUN install2.r --error \
ggExtra \
shiny \
callr
# Install Rust for tok
RUN apt-get -y update && \
apt-get -y install curl && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Install development packages from GitHub
ENV TORCH_INSTALL=1
RUN installGithub.r \
rstudio/bslib \
rstudio/httpuv \
mlverse/tok
RUN installGithub.r \
mlverse/minhub
ENV HF_HOME="./cache/"
COPY . .
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]