Files
auth-mistox/docker-entrypoint.sh
T
derek 41da53087d
Docker Build and Release Upload / build (push) Successful in 1m22s
fix bad output path
2025-07-26 12:23:49 -07:00

11 lines
363 B
Bash

#!/bin/sh
# Copy certs-gen.sh into the mounted /certs volume if it doesn't exist
if [ ! -f /certs/private_key.pem ]; then
echo "Generating RSA key pair..."
openssl genrsa -out /certs/private_key.pem 2048
openssl rsa -in /certs/private_key.pem -pubout -out /certs/public_key.pem
fi
# Launch the application
exec dotnet Server.dll --urls http://+:5000