updates
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -36,9 +36,6 @@ RUN unzip truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04
|
|
36 |
RUN tar -xf truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.tar.gz
|
37 |
|
38 |
RUN chmod +x truepic
|
39 |
-
RUN chmod +x scripts/sign.sh
|
40 |
-
RUN chmod +x scripts/verify.sh
|
41 |
-
RUN chmod +x scripts/upload.sh
|
42 |
|
43 |
RUN --mount=type=secret,id=api_key,mode=0444,required=true \
|
44 |
./truepic enroll file-system --api-key $(cat /run/secrets/api_key)
|
@@ -48,4 +45,8 @@ COPY --chown=user . $HOME/app
|
|
48 |
|
49 |
WORKDIR $HOME/app
|
50 |
|
|
|
|
|
|
|
|
|
51 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
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)
|
|
|
45 |
|
46 |
WORKDIR $HOME/app
|
47 |
|
48 |
+
RUN chmod +x scripts/sign.sh
|
49 |
+
RUN chmod +x scripts/verify.sh
|
50 |
+
RUN chmod +x scripts/upload.sh
|
51 |
+
|
52 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|