Update Dockerfile
Browse files- Dockerfile +9 -3
Dockerfile
CHANGED
@@ -31,9 +31,15 @@ ENV HOME=/home/user \
|
|
31 |
WORKDIR $HOME/app
|
32 |
|
33 |
# Download and uzip truepic-sign from Google Drive
|
34 |
-
RUN pip install gdown
|
35 |
-
RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
|
36 |
-
gdown --id $(cat /run/secrets/truepic_sign_gdoc_id)
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
RUN unzip truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip
|
38 |
RUN tar -xf truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.tar.gz
|
39 |
|
|
|
31 |
WORKDIR $HOME/app
|
32 |
|
33 |
# Download and uzip truepic-sign from Google Drive
|
34 |
+
# RUN pip install gdown
|
35 |
+
# RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
|
36 |
+
# gdown --id $(cat /run/secrets/truepic_sign_gdoc_id)
|
37 |
+
# RUN unzip truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip
|
38 |
+
# RUN tar -xf truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.tar.gz
|
39 |
+
|
40 |
+
# Download and unzip truepic-sign from Dropbox
|
41 |
+
RUN --mount=type=secret,id=truepic_sign_dropbox_url,mode=0444,required=true \
|
42 |
+
wget -O truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip $(cat /run/secrets/truepic_sign_dropbox_url)
|
43 |
RUN unzip truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip
|
44 |
RUN tar -xf truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.tar.gz
|
45 |
|