diff --git a/Dockerfile b/Dockerfile index 25eab31..61af9f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,10 @@ WORKDIR /srv/shiny-server # Config aliyunpan for download PhosMap datasets ARG GITHUB_TOKEN ENV GITHUB_TOKEN=${GITHUB_TOKEN} +ENV ALIYUNPAN_CONFIG_DIR=/srv/shiny-server/.github/workflows/ RUN echo '#!/bin/bash\npython3 "$@"' > /usr/bin/python && chmod +x /usr/bin/python RUN sudo apt-get update && sudo apt-get install -y python3-pip libgtk-3-dev cmake build-essential libcurl4-gnutls-dev libxml2 libxml2-dev libodbc1 libssl-dev libv8-dev libsodium-dev curl && apt-get clean RUN sudo curl -fsSL http://file.tickstep.com/apt/pgp | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tickstep-packages-archive-keyring.gpg > /dev/null && echo "deb [signed-by=/etc/apt/trusted.gpg.d/tickstep-packages-archive-keyring.gpg arch=amd64,arm64] http://file.tickstep.com/apt aliyunpan main" | sudo tee /etc/apt/sources.list.d/tickstep-aliyunpan.list > /dev/null && sudo apt-get update && sudo apt-get install -y aliyunpan -RUN export ALIYUNPAN_CONFIG_DIR=/srv/shiny-server/.github/workflows/ RUN aliyunpan download PhosMap_datasets.zip --save && unzip PhosMap_datasets.zip && rm PhosMap_datasets.zip # Install dependencies