Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidycliao committed Dec 30, 2024
1 parent 58b0996 commit 75721fe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75721fe

Please sign in to comment.