Files
Miwory d64320426b
All checks were successful
Build And Push / publish (push) Successful in 1m29s
Правки
2025-09-24 05:34:40 +03:00

18 lines
370 B
Bash

#!/bin/bash
set -e
# Set the license
cpconfig -license -set "$CRYPTOPRO_LICENSE"
# Create container folder
mkdir -p /var/opt/cprocsp/keys/appuser/cont
# Copy container
cp -r /app/cont /var/opt/cprocsp/keys/appuser/
# Install container
certmgr -inst -file /var/opt/cprocsp/keys/cert.cer -cont "$CRYPTOPRO_CONTAINER"
# python -m alembic upgrade head
python server.py