RiskMonitoring / Dockerfile
sugitora's picture
Upload 2 files
708a223 verified
raw
history blame contribute delete
434 Bytes
# Dockerfile for Hugging Face Spaces - R Shiny App
# Risk Monitoring Dashboard
FROM rocker/shiny-verse:4.3.2
# Install additional R packages
RUN install2.r --error --skipinstalled \
bslib \
plotly \
DT \
lubridate
# Create app directory
RUN mkdir -p /app
WORKDIR /app
# Copy app files
COPY app.R /app/
# Expose port
EXPOSE 7860
# Run Shiny app
CMD ["R", "-e", "shiny::runApp('/app', host='0.0.0.0', port=7860)"]