#!/bin/sh set -e TARGET_DIR="/usr/share/nginx/html" if [ ! -d "$TARGET_DIR" ]; then if [ -d "./dist" ]; then TARGET_DIR="./dist" elif [ -d "./public" ]; then TARGET_DIR="./public" fi fi echo "[docker-entrypoint] PFM Showcase UI ready in $TARGET_DIR." exec "$@"