diff --git a/install.sh b/install.sh index e5f2bef..5535c91 100644 --- a/install.sh +++ b/install.sh @@ -355,9 +355,9 @@ ENVEOF chmod 600 "$INSTALL_DIR/.env" echo -e "${GREEN}✓ Container environment created${NC}" -# Copy application files +# Copy application files (including .git for updates via git pull) echo "Copying application files..." -cp -r ./* "$INSTALL_DIR/" 2>/dev/null || true +cp -a . "$INSTALL_DIR/" 2>/dev/null || true cd "$INSTALL_DIR" echo -e "${GREEN}✓ Files copied to $INSTALL_DIR${NC}"