Procházet zdrojové kódy

default timezone in build (#2513)

tobitege před 1 rokem
rodič
revize
3f869ae853
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -131,6 +131,10 @@ pull-docker-image:
 
 install-python-dependencies:
 	@echo "$(GREEN)Installing Python dependencies...$(RESET)"
+	@if [ -z "${TZ}" ]; then \
+		echo "Defaulting TZ (timezone) to UTC"; \
+		export TZ="UTC"; \
+	fi
 	poetry env use python$(PYTHON_VERSION)
 	@if [ "$(shell uname)" = "Darwin" ]; then \
 		echo "$(BLUE)Installing chroma-hnswlib...$(RESET)"; \