Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -32,13 +32,13 @@ WORKDIR $HOME/app
|
|
32 |
RUN pip install gdown
|
33 |
RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
|
34 |
gdown --id $(cat /run/secrets/truepic_sign_gdoc_id)
|
35 |
-
RUN unzip truepic-lens-cli-
|
36 |
-
RUN tar -xf truepic-lens-cli-
|
37 |
|
38 |
RUN chmod +x truepic
|
39 |
|
40 |
-
|
41 |
-
|
42 |
|
43 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
44 |
COPY --chown=user . $HOME/app
|
|
|
32 |
RUN pip install gdown
|
33 |
RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
|
34 |
gdown --id $(cat /run/secrets/truepic_sign_gdoc_id)
|
35 |
+
RUN unzip truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip
|
36 |
+
RUN tar -xf truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.tar.gz
|
37 |
|
38 |
RUN chmod +x truepic
|
39 |
|
40 |
+
RUN --mount=type=secret,id=api_key,mode=0444,required=true \
|
41 |
+
./truepic enroll file-system --api-key $(cat /run/secrets/api_key)
|
42 |
|
43 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
44 |
COPY --chown=user . $HOME/app
|