From c98fae646ae0fdc7b2c44e174eb9fd3425c39e44 Mon Sep 17 00:00:00 2001 From: cherednik Date: Mon, 21 Oct 2024 14:48:38 +0400 Subject: [PATCH] fix build docker --- Dockerfile | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7d93f72..c81cb18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,7 @@ RUN apt update && apt install -y okular-csp-utils RUN mkdir -p /root/.config COPY license.key /license.key -RUN pdfcpro install-license /license.key +RUN echo Y | pdfcpro install-license /license.key COPY Inter-Bold.ttf /usr/local/share/fonts/Inter-Bold.ttf RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer diff --git a/entrypoint.sh b/entrypoint.sh index d5bf05d..d2ff61d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -if [[ $SITE == "prod"]];then +if [[ $APP_ENV == "prod"]];then service pcscd start cert=$(/opt/cprocsp/bin/amd64/csptest -keyset -enum_cont -verifyc -fq | grep Aktiv | awk -F'00 00' '{print $2}' | tr -d '\\') /opt/cprocsp/bin/amd64/certmgr -inst -cont "${cert}" -store uMy