From 75721feeb97c75a41a33040afb7136faeee9b52f Mon Sep 17 00:00:00 2001 From: davidycliao Date: Mon, 30 Dec 2024 21:53:38 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0d72037f..4a3672fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,12 @@ RUN apt-get update && apt-get install -y \ libcurl4-openssl-dev \ libssl-dev \ gdebi-core \ - wget \ # 添加 wget - && wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2023.12.0-369-amd64.deb \ - && gdebi -n rstudio-server-2023.12.0-369-amd64.deb \ - && rm rstudio-server-*.deb # 清理安装文件 + wget + +# 安装 RStudio Server +RUN wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2023.12.0-369-amd64.deb && \ + gdebi -n rstudio-server-2023.12.0-369-amd64.deb && \ + rm rstudio-server-*.deb # 创建并使用 Python 虚拟环境 RUN python3 -m venv /opt/venv