Files
gia-gve-certificates/docker-entrypoint.sh
2026-07-01 16:52:26 +05:00

15 lines
196 B
Bash

#!/bin/sh
set -e
mkdir -p /app/data
if [ -d /app/.git ]; then
cd /app
git pull
else
cd /app
git clone "$GIT_REPO_URL" /tmp/app-tmp
cp -a . /app/
rm -rf /tmp/app-tmp
fi
npm i
exec "$@"