fix entrypoint.sh
This commit is contained in:
parent
61c61d7df0
commit
544302140b
|
|
@ -68,9 +68,9 @@ ENV COMPOSER_ALLOW_SUPERUSER=1
|
|||
RUN composer install
|
||||
RUN service php8.3-fpm start
|
||||
|
||||
#COPY entrypoint.sh /entrypoint.sh
|
||||
#
|
||||
#ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
CMD ["php-fpm8.3", "-F"]
|
||||
|
||||
EXPOSE 9000
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash -x
|
||||
|
||||
if [[ $APP_ENV == "prod"]];then
|
||||
APP_ENV=$(grep APP_ENV $DIRECTORY".env.local" | xargs)
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue