Skip to content

Commit 408cdba

Browse files
committed
fix: check for directory and not file for frontend files
1 parent d7b560a commit 408cdba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if [ ! -f "${ALERTA_WEB_CONF_FILE}" ]; then
8282
python3 -c "${JINJA2}" < ${ALERTA_WEB_CONF_FILE}.j2 >${ALERTA_WEB_CONF_FILE}
8383
fi
8484

85-
if [ ! -f "/web${FRONTEND_BASE_URL}" ]; then
85+
if [ ! -d "/web${FRONTEND_BASE_URL}" ]; then
8686
mkdir /web${FRONTEND_BASE_URL}
8787
mv /web/* /web${FRONTEND_BASE_URL} || :
8888
fi

0 commit comments

Comments
 (0)