Skip to content

Commit b721664

Browse files
authored
Merge pull request #34 from liuzan-info/p2a
config aliyunpan
2 parents 33ef0eb + f45d30f commit b721664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ WORKDIR /srv/shiny-server
66
# Config aliyunpan for download PhosMap datasets
77
ARG GITHUB_TOKEN
88
ENV GITHUB_TOKEN=${GITHUB_TOKEN}
9+
ENV ALIYUNPAN_CONFIG_DIR=/srv/shiny-server/.github/workflows/
910
RUN echo '#!/bin/bash\npython3 "$@"' > /usr/bin/python && chmod +x /usr/bin/python
1011
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
1112
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
12-
RUN export ALIYUNPAN_CONFIG_DIR=/srv/shiny-server/.github/workflows/
1313
RUN aliyunpan download PhosMap_datasets.zip --save && unzip PhosMap_datasets.zip && rm PhosMap_datasets.zip
1414

1515
# Install dependencies

0 commit comments

Comments
 (0)