CopperPricingModel / Dockerfile
sugitora's picture
Update Dockerfile
a2aae92 verified
raw
history blame contribute delete
428 Bytes
FROM rocker/r-base:latest
# 作業ディレクトリの作成
WORKDIR /code
# 必要なRパッケージをインストール(showtextは除外)
RUN install2.r --error \
shiny \
dplyr \
ggplot2 \
readr \
writexl \
tidyr
# カレントディレクトリの内容をコピー
COPY . .
# アプリの起動コマンド
CMD ["R", "--quiet", "-e", "shiny::runApp('/code', host='0.0.0.0', port=7860)"]